Skip to content

Commit

Permalink
Add docs yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Starveldt committed Aug 7, 2024
1 parent ab9c8ed commit a3a9370
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Docs

on:
push:
branches:
- main

jobs:
build:
name: Build Moonwave Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- uses: actions/setup-node@v4.0.3
with:
node-version: 20.16.0
- run: npm i -g moonwave@latest
- name: Publish
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
git config --global user.email "support+actions@github.com"
git config --global user.name "github-actions-bot"
moonwave build --publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a3a9370

Please sign in to comment.