build: fine-tuning CI [skip ci]

This commit is contained in:
psyko-gh
2024-08-25 14:59:35 +02:00
parent 7530779329
commit d37e53c2b0

View File

@@ -13,7 +13,7 @@ on:
jobs:
build_and_push:
name: Build & publish Edge Docker image
if: github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[skip ci]')
if: ${{ github.event_name == 'workflow_dispatch' }} || github.ref == 'refs/heads/master' && !contains(github.event.head_commit.message, '[skip ci]')
runs-on: ubuntu-latest
permissions:
contents: read