Ensure error messages are still printed in silenced mode #86
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 Documentation | |
on: [push, pull_request] | |
jobs: | |
generate_documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: Setup Node.js Environment | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- name: Switch to Yarn Berry | |
run: npm install -g yarn@berry | |
- name: Install Dependencies | |
run: YARN_ENABLE_IMMUTABLE_INSTALLS=false yarn install | |
- name: Inject Token | |
run: echo "${{ secrets.DOCS_GH_TOKEN }}" > ./docs/.env | |
- name: Generate Documentation | |
run: yarn docs:generate | |
- name: Deploy Documentation | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: docs | |
publish_dir: ./docs/dist | |
cname: cinnamon.apollosoftware.xyz |