Updating all client licenses to clearly be MIT (#2596) #541
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: Documentation | |
on: | |
push: | |
branches: | |
- master | |
- v4.0 | |
jobs: | |
documentation: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2.3.4 | |
with: | |
fetch-depth: 1 | |
- name: Use Node.js | |
uses: actions/setup-node@v2.3.0 | |
- name: Install Packages | |
run: npm ci | |
- name: Build tests tools | |
run: npm run build:tests-tools | |
- name: Generate Documentation | |
run: npm run documentation | |
- name: Upload | |
run: | | |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
npm run gh-pages | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |