Skip to content

Commit

Permalink
yml reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranmuazzam committed Oct 24, 2024
1 parent cd60a8c commit ef3bfaa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 32 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
on:
push:
branches: [main]
paths-ignore:
- "*.md"
on: [push]

permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
name: Run the action on a test graph and publish
name: Publish Logseq graph
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build graph's SPA
uses: logseq/publish-spa@main
with:
graph-directory: test/publish-test-graph
theme-mode: dark
accent-color: cyan

- 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 🚀
Expand Down
21 changes: 5 additions & 16 deletions workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
on:
push:
branches: [main]
paths-ignore:
- "*.md"
on: [push]

permissions:
contents: write
jobs:
test:
runs-on: ubuntu-latest
name: Run the action on a test graph and publish
name: Publish Logseq graph
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Build graph's SPA
uses: logseq/publish-spa@main
with:
graph-directory: test/publish-test-graph
theme-mode: dark
accent-color: cyan

- 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 🚀
Expand Down

0 comments on commit ef3bfaa

Please sign in to comment.