Skip to content

v2.0.0

v2.0.0 #32

Workflow file for this run

name: "Deploy"
on:
release:
types: [released] # triggered on main branch releases
jobs:
install:
name: "Install"
runs-on: ubuntu-latest
steps:
- name: "πŸ›Ž Checkout"
uses: actions/checkout@v4
- name: "πŸ”§ Setup"
uses: ./.github/actions/use-dependencies
deploy:
name: "Deploy"
needs: install
runs-on: ubuntu-latest
steps:
- name: "πŸ›Ž Checkout"
uses: actions/checkout@v4
- name: "πŸ”§ Setup"
uses: ./.github/actions/use-dependencies
- name: "πŸ—οΈ Build"
run: yarn build
- name: "πŸš€ Deploy"
uses: peaceiris/actions-gh-pages@v3
with:
force_orphan: true # create empty branch if missing
personal_token: ${{ secrets.WRITE_REPOS_TOKEN }}
publish_branch: gh-pages
publish_dir: ./build
user_name: agoralabs-bot
user_email: [email protected]