Re-add publisher GH action
This commit is contained in:
parent
ab1c9f2ef0
commit
2ef320749f
1 changed files with 33 additions and 0 deletions
33
.github/workflows/publish.yaml
vendored
Normal file
33
.github/workflows/publish.yaml
vendored
Normal file
|
|
@ -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 }}
|
||||||
Loading…
Reference in a new issue