-
-
Notifications
You must be signed in to change notification settings - Fork 0
25 lines (23 loc) · 670 Bytes
/
docs.yaml
File metadata and controls
25 lines (23 loc) · 670 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Docs
on:
push:
branches:
- main
jobs:
build:
name: Build and deploy docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
with:
node-version: "16"
- 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 --code packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}