mirror of
https://github.com/TacoWolf/garden.git
synced 2026-01-14 13:10:02 -05:00
Create publish.yml
This commit is contained in:
parent
46358147c0
commit
c6724668df
1 changed files with 17 additions and 0 deletions
17
.github/workflows/publish.yml
vendored
Normal file
17
.github/workflows/publish.yml
vendored
Normal 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
|
||||||
Loading…
Add table
Reference in a new issue