From af5d854d3b52e1cf3e1fc322e8767ec05b5d8556 Mon Sep 17 00:00:00 2001 From: Sir Mallard <73789875+SirMallard@users.noreply.github.com> Date: Tue, 15 Oct 2024 15:27:09 +0100 Subject: [PATCH] Added documentation push action. --- .github/workflows/docs.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/docs.yaml diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml new file mode 100644 index 0000000..fd21240 --- /dev/null +++ b/.github/workflows/docs.yaml @@ -0,0 +1,35 @@ +name: "Documentation" + +on: + workflow_dispatch: + release: + types: [published] + +permissions: + pages: write + +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + publish-docs: + name: "Publish documentation page" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: action/setup-node@v4 + + - name: Install Moonwave + run: npm i moonwave + + - name: Build + run: moonwave build + + - name: Upload + uses: actions/upload-pages-artifact@v3 + with: + path: build/ + + - name: Publish + uses: actions/deploy-pages@v4