Skip to content

Commit

Permalink
fix(ci): cd should run on the branch that completed
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdickinson committed Oct 1, 2024
1 parent 1239d21 commit 2b2f805
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: '${{ github.event.workflow_run.head_branch }}'

- uses: docker/setup-buildx-action@v3

- uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
Expand Down Expand Up @@ -46,6 +49,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
ref: '${{ github.event.workflow_run.head_branch }}'

- name: update the schema
run: |
Expand Down

0 comments on commit 2b2f805

Please sign in to comment.