From 2ef320749fdc81675e3eb3e05ab8854e9294ccba Mon Sep 17 00:00:00 2001 From: Robin Sving Date: Sat, 18 May 2024 23:38:26 +0200 Subject: [PATCH] Re-add publisher GH action --- .github/workflows/publish.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 000000000..af769f348 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,33 @@ +name: Build Quartz Site +on: + push: + branches: ["v4"] +permissions: + contents: read + pages: write + id-token: write +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Pages + uses: actions/configure-pages@v3 + - name: Build + uses: konstfish/quartz-build-action@v1 + with: + source: robinsving/pathfinder2e-notes/content + page_title: "The Crimson World" + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 + deploy: + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v2 + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} \ No newline at end of file