Require foolproof checkbox to deploy to production

This commit is contained in:
Andrew Dryga
2023-10-24 00:02:50 -06:00
parent 1991659046
commit 420931af23

View File

@@ -26,7 +26,9 @@ concurrency:
jobs:
push-images-to-production-artifacts:
if: github.ref == 'refs/heads/main'
if:
${{ github.ref == 'refs/heads/main' && (inputs.foolproof == 'true' ||
github.event_name == 'release') }}
runs-on: ubuntu-22.04
strategy:
fail-fast: false