Bump versions #46
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: "DOC - Build and deploy with sfdx-hardis" | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
# Build & deploy docs | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
# Build doc with sfdx-hardis | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: "14.x" | |
- run: yarn | |
- run: yarn prepack | |
- run: npm i sfdx-cli -g | |
- run: echo y|sfdx plugins:install sfdx-hardis | |
- run: sfdx hardis:doc:plugin:generate | |
# Deploy docs with mkdocs-material | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs-material mdx_truly_sane_lists json-schema-for-humans | |
- run: mkdocs gh-deploy --force |