From 26c5dc245898fcd3b0708255fea072f9e9dddf6e Mon Sep 17 00:00:00 2001 From: Chris Dickinson Date: Tue, 1 Oct 2024 10:07:39 -0700 Subject: [PATCH] fix(ci): cd should run on the branch that completed --- .github/workflows/cd.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index dd934be..7175e36 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -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