From ef3bfaa1f870c71137f363b3fbd870a04adf1c48 Mon Sep 17 00:00:00 2001 From: Kamran Date: Thu, 24 Oct 2024 23:31:10 +0600 Subject: [PATCH] yml reverted --- .github/workflows/main.yml | 21 +++++---------------- workflows/main.yml | 21 +++++---------------- 2 files changed, 10 insertions(+), 32 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9969ad1..449a9a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 🚀 diff --git a/workflows/main.yml b/workflows/main.yml index 9969ad1..449a9a5 100644 --- a/workflows/main.yml +++ b/workflows/main.yml @@ -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 🚀