Skip to content

Commit

Permalink
Add publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cldwalker committed Nov 22, 2024
1 parent 2723d8a commit 984d745
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
# branches: [main]
paths-ignore:
- '*.md'
permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
name: Run the action on a test graph and publish
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build graph's SPA
uses: logseq/publish-spa@feat/db
with:
theme-mode: dark
accent-color: cyan
version: 92cc1ce38c08daf9a3ff455d2c2bfab273b98c46

- name: Add a nojekyll file # to make sure asset paths are correctly identified
run: touch $GITHUB_WORKSPACE/www/.nojekyll
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: www

0 comments on commit 984d745

Please sign in to comment.