Skip to content

Commit 30deb64

Browse files
Update deploy to prod (#221)
* add github secrets to prod deply * add the secret to the run --------- Co-authored-by: Drew Proebstel <dproebstel@codeforamerica.org>
1 parent 3305b8a commit 30deb64

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy-to-production.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,9 @@ jobs:
166166
- name: Build and push Docker image
167167
env:
168168
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
169+
BUNDLE_GITHUB__COM: ${{ secrets.BUNDLE_GITHUB__COM}}
169170
run: |
170-
docker build -t 828007041297.dkr.ecr.us-east-1.amazonaws.com/pya-production-web:${{env.IMAGE_TAG}} --platform linux/amd64 .
171+
docker build -t 828007041297.dkr.ecr.us-east-1.amazonaws.com/pya-production-web:${{env.IMAGE_TAG}} --secret id=github_pat,env=BUNDLE_GITHUB__COM --platform linux/amd64 .
171172
docker push 828007041297.dkr.ecr.us-east-1.amazonaws.com/pya-production-web:${{env.IMAGE_TAG}}
172173
173174
- name: Update SSM Version Parameter

0 commit comments

Comments
 (0)