Skip to content

Version 0.7.0 (#38) #83

Version 0.7.0 (#38)

Version 0.7.0 (#38) #83

Workflow file for this run

name: Docs
on:
push:
branches:
- main
pull_request:
jobs:
build-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: CompeyDev/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Install moonwave-extractor
run: cargo install moonwave
- name: Install dependencies
run: npm ci
working-directory: docs
- name: Build docs
run: npm run build
working-directory: docs
- uses: actions/upload-pages-artifact@v3
with:
path: docs/build
deploy-docs:
if: github.event_name != 'pull_request'
needs: [build-docs]
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4