Create publish.yml

This commit is contained in:
Daniel Gallegos 2023-08-12 14:06:07 -04:00 committed by GitHub
parent 46358147c0
commit c6724668df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
.github/workflows/publish.yml vendored Normal file
View file

@ -0,0 +1,17 @@
on: [push]
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
name: Publish Logseq graph
steps:
- uses: actions/checkout@v3
- uses: logseq/publish-spa@v0.2.0
- name: add a nojekyll file # to make sure asset paths are correctly identified
run: touch $GITHUB_WORKSPACE/www/.nojekyll
- name: Deploy 🚀
uses: tacowolf/github-pages-deploy-action@v4
with:
folder: www