We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a27150 commit 8cc95c6Copy full SHA for 8cc95c6
.github/workflows/container-api-bn-recovery.yml
@@ -4,6 +4,10 @@ on:
4
schedule:
5
- cron: "0 8 * * 4"
6
workflow_dispatch:
7
+ # TODO: remove this push trigger before merging to master
8
+ push:
9
+ branches:
10
+ - andrew/api-bn-recovery
11
pull_request:
12
paths:
13
- '.github/workflows/container-api-bn-recovery.yml'
@@ -73,7 +77,8 @@ jobs:
73
77
echo "SHORT_SHA=${SHORT_SHA}" >> "$GITHUB_ENV"
74
78
75
79
- name: Push container image
76
- if: github.ref_name == 'master'
80
+ # TODO: revert to github.ref_name == 'master' before merging
81
+ if: github.ref_name == 'master' || github.ref_name == 'andrew/api-bn-recovery'
82
run: |
83
set -euo pipefail
84
for tag in "${{ env.DATE }}" "${{ env.SHORT_SHA }}" latest; do
0 commit comments