Skip to content

Update README.md (#5211) #5171

Update README.md (#5211)

Update README.md (#5211) #5171

Workflow file for this run

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"]'