Bump express from 4.19.2 to 4.21.0 (#132) #108
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: Docs | |
on: | |
push: | |
branches: | |
- main | |
- docs/PUB-76-migration-guide | |
env: | |
CI: 'true' | |
NODE_ENV: 'production' | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '12' | |
- name: 📦 Install dependencies | |
run: yarn install --immutable | |
- name: Add changelog to docs | |
run: cp CHANGELOG.md docs/changelog.md | |
- name: Generate Docs 🔧 | |
run: yarn run docs | |
- name: Publish Github Pages 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages # The branch the action should deploy to. | |
folder: build # The folder the action should deploy. | |
clean: true # Automatically remove deleted files from the deploy branch |