-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use correct pipeline conditions
- Loading branch information
1 parent
2748e38
commit 8f51de0
Showing
1 changed file
with
2 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -237,8 +237,7 @@ jobs: | |
permissions: | ||
contents: 'read' | ||
id-token: 'write' | ||
# TODO: Remove `|| github.event_name == 'workflow_dispatch'` condition before merging | ||
if: ${{ !cancelled() && !failure() && ((github.event_name == 'push' && github.ref_name == 'main') || github.event_name == 'release') || github.event_name == 'workflow_dispatch' }} | ||
if: ${{ !cancelled() && !failure() && ((github.event_name == 'push' && github.ref_name == 'main') || github.event_name == 'release') }} | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
@@ -295,7 +294,7 @@ jobs: | |
echo "zebra_checkpoint_disk=${ZEBRA_CHECKPOINT_DISK}" >> "${GITHUB_OUTPUT}" | ||
- name: Get IP address for long-running release nodes | ||
# if: ${{ github.event_name == 'release' }} | ||
if: ${{ github.event_name == 'release' }} | ||
run: echo "IP_ADDRESS=$(gcloud compute addresses describe zebra-${NETWORK} --region ${{ vars.GCP_REGION }} --format='value(address)')" >> "$GITHUB_ENV" | ||
Check warning on line 298 in .github/workflows/cd-deploy-nodes-gcp.yml GitHub Actions / actionlint[actionlint] .github/workflows/cd-deploy-nodes-gcp.yml#L298
Raw output
|
||
|
||
- name: Create instance template for ${{ matrix.network }} | ||
|