Update to fixed position of TOC nav - fix additional lint issues (#4892) #4892
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: Deploy | |
on: | |
push: | |
branches: | |
- master | |
tags-ignore: | |
- "*.*" | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
registry-url: https://registry.npmjs.org | |
- name: Install Yarn | |
run: npm install -g yarn | |
- name: Install and Build | |
run: | | |
yarn install | |
yarn sitemap | |
yarn build | |
- name: Deploy Local | |
uses: JamesIves/github-pages-deploy-action@3.7.1 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: build | |
- name: Deploy Upstream | |
uses: JamesIves/github-pages-deploy-action@3.7.1 | |
with: | |
ACCESS_TOKEN: ${{ secrets.GIT_ACCESS_TOKEN }} | |
REPOSITORY_NAME: spotinst/docs | |
BRANCH: gh-pages | |
FOLDER: build | |
CLEAN: true | |
CLEAN_EXCLUDE: '["CNAME", ".nojekyll", "api/index.html", "api/openapi.json"]' |