Skip to content

chore: run linter on save (#33) #41

chore: run linter on save (#33)

chore: run linter on save (#33) #41

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
workflow_dispatch: # Manual trigger
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- run: |
pnpm install
pnpm build
- name: Deploy
working-directory: ./packages/site
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
pnpm run deploy -u "github-actions-bot <support+actions@github.com>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}