Skip to content

Commit

Permalink
the main file was different, but i think i messed up by deleting the …
Browse files Browse the repository at this point in the history
…branch
  • Loading branch information
kamranmuazzam committed Oct 24, 2024
1 parent d940e42 commit f0a3b00
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 15 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
on: [push]

permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
name: Publish Logseq graph
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: logseq/publish-spa@v0.3.0
- name: Add a nojekyll file # to make sure asset paths are correctly identified
run: touch $GITHUB_WORKSPACE/www/.nojekyll
Expand Down
31 changes: 17 additions & 14 deletions workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
steps:
- uses: actions/checkout@v2
- name: Logseq Publish 🚩
uses: pengx17/logseq-publish@v0.1.8
with:
version: latest
- 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@4
with:
branch: gh-pages # The branch the action should deploy to.
folder: www # The folder the action should deploy.
clean: true
on: [push]

permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
name: Publish Logseq graph
steps:
- uses: actions/checkout@v4
- uses: logseq/publish-spa@v0.3.0
- 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 f0a3b00

Please sign in to comment.