From 0f2b6cd5665060e1b252deaf99d8ff586800aa4c Mon Sep 17 00:00:00 2001 From: Andrew Conti Date: Fri, 30 Aug 2024 15:31:25 -0400 Subject: [PATCH] wip --- .github/workflows/push.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index d1e30305..40386e1a 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -1,4 +1,6 @@ name: CI +env: + BRANCH_NAME: ${{ github.head_ref || github.ref_name }} on: push: branches: master @@ -23,7 +25,7 @@ jobs: run: | python -m pip install --upgrade pip pip install --user cookiecutter - cookiecutter gh:agconti/cookiecutter-django-rest --no-input + cookiecutter gh:agconti/cookiecutter-django-rest --checkout $BRANCH_NAME --no-input - name: Build image run: docker compose build web