Only run deployment if called from PR

This commit is contained in:
Marty Oehme 2025-06-23 23:15:24 +02:00
parent c7ae80f33a
commit 7be7e5029a
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -156,7 +156,7 @@ jobs:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-deployment
cancel-in-progress: false
if: "github.ref == 'refs/heads/main' && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
if: "github.ref == 'refs/heads/main' && ${{ github.event_name != 'workflow_run' }} && !contains(github.event.pull_request.title, '[ci skip]') && !contains(github.event.pull_request.body, '[ci skip]')"
container:
image: ghcr.io/void-linux/void-glibc-full:20250227R1