Skip to content

Commit

Permalink
Minor script fix for bash conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
BobJWalker committed Feb 13, 2024
1 parent aec4dde commit 8f468c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
git stage 'k8s/overlays/${{ github.ref == 'refs/heads/main' && 'test' || 'dev' }}/kustomization.yaml'
git commit -am "Updating ${{ github.ref == 'refs/heads/main' && 'test' || 'dev' }} overlay file to ${{ steps.determine_version.outputs.semVer }}"
git push --set-upstream origin ${GITHUB_REF:11}
if "${{ github.ref }}" != "refs/head/main"
if [["${{ github.ref }}" != "refs/head/main"]]; then
git tag 'dev-argo' --force
git push origin 'dev-argo' --force
fi

0 comments on commit 8f468c8

Please sign in to comment.