I hate github actions

This commit is contained in:
Cory Sanin 2025-01-08 01:33:25 -05:00
parent bf73fc7137
commit b31ff30963

View File

@ -28,12 +28,16 @@ jobs:
] ]
env: env:
ABSOLUTE_DH_IMAGE: docker.io/corysanin/archy-build-thing 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: permissions:
contents: read contents: read
packages: write packages: write
steps: 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 - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4