Merge pull request #59 from barrettruth/fix/ci

fix
This commit is contained in:
Barrett Ruth 2026-01-22 12:42:42 -06:00 committed by GitHub
commit 7dca435d3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 6 deletions

View file

@ -4,7 +4,6 @@ on:
branches: [main]
push:
branches: [main]
jobs:
ci:
runs-on: ubuntu-latest

View file

@ -1,18 +1,17 @@
name: deploy
on:
workflow_run:
workflows: ["CI"]
workflows: ["ci"]
types:
- completed
jobs:
deploy:
if: >
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.pull_requests[0].base.ref == 'main'
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.workflow_run.head_sha }}
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with: