Add ConnectMnemonic and Discovery Accounts button to aepp example #21
Workflow file for this run
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: Build and publish docs | |
on: | |
pull_request: | |
push: | |
branches: [develop] | |
release: | |
types: [released] | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
cache: pip | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: npm | |
- run: pip3 install -r docs/requirements.txt | |
- run: git config --global user.email "[email protected]" | |
- run: git config --global user.name "GitHub Action" | |
- if: github.event_name == 'pull_request' | |
run: mkdocs build | |
- if: github.event_name == 'push' | |
run: mike deploy --push develop | |
- if: github.event_name == 'release' | |
run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV | |
- if: github.event_name == 'release' | |
run: mike deploy --push --update-aliases $RELEASE_VERSION latest |