We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b633c2d + b36614f commit 66012f4Copy full SHA for 66012f4
.github/workflows/terraform.yml
@@ -107,9 +107,9 @@ jobs:
107
id: plan-push
108
if: github.event_name == 'push'
109
run: |
110
- if [ "${{ github.ref }}" == "develop" ]; then
+ if [ "${{ github.ref }}" == "refs/heads/develop" ]; then
111
export ENV="dev";
112
- elif [ "${{ github.ref }}" == "main" ]; then
+ elif [ "${{ github.ref }}" == "refs/heads/main" ]; then
113
export ENV="prod";
114
else
115
echo "unsupported environment";
0 commit comments