Skip to content

Merge pull request #95 from geniusyield/chore-update-code-owners #159

Merge pull request #95 from geniusyield/chore-update-code-owners

Merge pull request #95 from geniusyield/chore-update-code-owners #159

Workflow file for this run

name: Deploy to Github Pages
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
github_pages_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Install dependencies
run: yarn install && yarn export
- name: Deploy
if: github.ref_name == 'main'
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
yarn deploy -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}