From b31ff3096392289fc6f18d0a6aff2a24d8449246 Mon Sep 17 00:00:00 2001 From: Cory Sanin Date: Wed, 8 Jan 2025 01:33:25 -0500 Subject: [PATCH] I hate github actions --- .github/workflows/build-arch-images.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-arch-images.yml b/.github/workflows/build-arch-images.yml index 5043917..04dfd7b 100644 --- a/.github/workflows/build-arch-images.yml +++ b/.github/workflows/build-arch-images.yml @@ -28,12 +28,16 @@ jobs: ] env: ABSOLUTE_DH_IMAGE: docker.io/corysanin/archy-build-thing - DEPLOY: github.ref == 'refs/heads/master' && ( github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' ) + DEPLOY: false permissions: contents: read packages: write steps: + - name: determine deployment + if: github.ref == 'refs/heads/master' && ( github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' ) + run: echo "DEPLOY=true" >> $GITHUB_ENV + - name: Checkout repository uses: actions/checkout@v4