Skip to content

Commit 0985ddf

Browse files
Clinton WerthClinton Werth
authored andcommitted
try again
1 parent 54c2b6b commit 0985ddf

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/aws_dev.deploy.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,8 @@ jobs:
1919

2020
- name: Set IMAGE_TAG
2121
run: |
22-
if [[ "${{ github.ref_name }}" == "test" ]]; then
23-
echo "IMAGE_TAG=test" >> $GITHUB_ENV
24-
else
25-
echo "IMAGE_TAG=dev" >> $GITHUB_ENV
26-
fi
22+
echo "IMAGE_TAG=test" >> test
23+
2724
2825
- name: AWS config
2926
uses: aws-actions/configure-aws-credentials@v3
@@ -52,5 +49,6 @@ jobs:
5249
REPOSITORY: "/mage/server"
5350
IMAGE_TAG: ${{ env.IMAGE_TAG }}
5451
run: |
52+
echo $REGISTRY$REPOSITORY:$IMAGE_TAG
5553
docker push $REGISTRY$REPOSITORY:$IMAGE_TAG
5654
aws ecs update-service --cluster magedev --service $SERVICE --force-new-deployment

0 commit comments

Comments
 (0)