Skip to content

Commit 3b67eff

Browse files
committed
chore: test environments
1 parent 0d8cec3 commit 3b67eff

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,17 @@ jobs:
7171
IMAGE_VERSION: build-${{ github.run_number }}
7272
run: |
7373
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_VERSION
74+
75+
deploy:
76+
needs: build
77+
if: github.ref == 'refs/heads/main'
78+
runs-on: ubuntu-latest
79+
environment:
80+
name: prod
81+
url: https://demostore.gatling.io
82+
timeout-minutes: 10
83+
steps:
84+
- name: Tag & deploy?
85+
run: |
86+
echo "Tagging build-${{ github.run_number }} to prod"
87+
echo "Deploying"

0 commit comments

Comments
 (0)