Merge pull request #413 from Quenty/users/quenty/datastore_fix #142
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: publish-docs | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build and deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- 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:${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 }} |