Skip to content

Ensure error messages are still printed in silenced mode #86

Ensure error messages are still printed in silenced mode

Ensure error messages are still printed in silenced mode #86

Workflow file for this run

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