Update wally.toml #51
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: "18" | |
- run: npm i -g moonwave@latest | |
- name: Publish | |
run: | | |
git remote set-url origin https://git:${TOKEN}@github.com/KdudeDev/InfiniteMath.git | |
git config --global user.email "[email protected]" | |
git config --global user.name "github-actions-bot" | |
moonwave build --publish --code src | |
env: | |
TOKEN: ${{ secrets.TOKEN }} |