Skip to content

Merge pull request #777 from oasisprotocol/matevz/docs/manage-tokens-… #438

Merge pull request #777 from oasisprotocol/matevz/docs/manage-tokens-…

Merge pull request #777 from oasisprotocol/matevz/docs/manage-tokens-… #438

Workflow file for this run

# NOTE: This name appears in GitHub's Checks API and in workflow's status badge.
name: deploy-main
on:
push:
branches: [main]
jobs:
deploy-main:
# NOTE: This name appears in GitHub's Checks API.
name: deploy-main
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions/setup-node@v2
with:
node-version: 18.x
cache: yarn
- name: Build website
run: |
yarn install --frozen-lockfile
yarn build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
force_orphan: true
cname: docs.oasis.io
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com