File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,26 +44,26 @@ jobs:
4444 docker tag mercury "$REPO":latest
4545 docker push --all-tags "$REPO"
4646 env :
47- REPO : 060568373025 .dkr.ecr.us-west-2.amazonaws.com/mercury
47+ REPO : ${{ vars.AWS_ACCOUNT }} .dkr.ecr.us-west-2.amazonaws.com/mercury
4848
4949 - name : Deploy
5050 run : |
5151 # Force a new deployment, implicitly utilising the new image on the
5252 # same `latest` image tag.
5353 nix develop .#ops -c \
5454 aws ecs update-service --no-cli-pager \
55- --cluster shared-cluster-staging \
55+ --cluster ${{ vars.TOOLS_CLUSTER }} \
5656 --service mercury-service \
5757 --force-new-deployment
5858 nix develop .#ops -c \
5959 aws ecs wait services-stable \
60- --cluster shared-cluster-staging \
60+ --cluster ${{ vars.TOOLS_CLUSTER }} \
6161 --services mercury-service
6262
6363 # This (emphasis on `--fail-with-body`) acts as a sort of final E2E test.
6464 - name : Notify (Test)
6565 run : |
66- curl https://mercury.proxy.unsplash.com /api/v1/slack --fail-with-body -X POST \
66+ curl ${{ vars.MERCURY_ENDPOINT }} /api/v1/slack --fail-with-body -X POST \
6767 --oauth2-bearer '${{ secrets.MERCURY_SLACK_TOKEN }}' \
6868 -d channel=playground \
6969 -d title='🚀 Mercury' \
You can’t perform that action at this time.
0 commit comments