Skip to content

Merge pull request #844 from oasisprotocol/dependabot/github_actions/… #460

Merge pull request #844 from oasisprotocol/dependabot/github_actions/…

Merge pull request #844 from oasisprotocol/dependabot/github_actions/… #460

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@v4
with:
submodules: true
- uses: actions/setup-node@v4
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