Skip to content

Add moonwave documentation (#13) #1

Add moonwave documentation (#13)

Add moonwave documentation (#13) #1

Workflow file for this run

name: Docs
on:
push:
branches: [main]
workflow_dispatch:
jobs:
publish:
name: Publish to GitHub Pages
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Moonwave
run: npm install -g moonwave@latest
- name: Configure git
run: |
git config --global user.email "github-actions-bot@users.noreply.github.com"
git config --global user.name "github-actions-bot"
git remote set-url origin https://git:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
- name: Build and publish
run: moonwave build --publish