Feat: Base chain support for Superfluid (#182) #121
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: Generate Doc | |
on: | |
push: | |
branches: [main] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: npm | |
- name: Install dependencies | |
run: npm install | |
- name: Create Doc | |
run: npm run doc | |
- name: Push Doc | |
run: | | |
BRANCH=gh-pages | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git fetch origin $BRANCH | |
git reset --mixed origin/$BRANCH | |
git add -f docs | |
git commit -m "Updating documentation: $GITHUB_ACTOR" | |
git push origin HEAD:$BRANCH |