Skip to content

Commit 66012f4

Browse files
Merge pull request #2 from florenciacomuzzi/fix-push
fix push
2 parents b633c2d + b36614f commit 66012f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/terraform.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ jobs:
107107
id: plan-push
108108
if: github.event_name == 'push'
109109
run: |
110-
if [ "${{ github.ref }}" == "develop" ]; then
110+
if [ "${{ github.ref }}" == "refs/heads/develop" ]; then
111111
export ENV="dev";
112-
elif [ "${{ github.ref }}" == "main" ]; then
112+
elif [ "${{ github.ref }}" == "refs/heads/main" ]; then
113113
export ENV="prod";
114114
else
115115
echo "unsupported environment";

0 commit comments

Comments
 (0)