Skip to content

Commit

Permalink
Added documentation push action.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirMallard committed Oct 15, 2024
1 parent 2c51058 commit af5d854
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit af5d854

Please sign in to comment.