Skip to content

Commit

Permalink
tweaking not-working-flows
Browse files Browse the repository at this point in the history
Signed-off-by: Duncan Ragsdale <[email protected]>
  • Loading branch information
Thistleman committed Mar 8, 2024
1 parent c09363c commit 37bf6d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deployapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
--build-arg admin_password=${{ env.ADP }} \
--build-arg admin_email=${{ env.ADE }} \
--build-arg region=${{ env.AWS_REGION }} \
--secret id=ak,${{ secrets.AWS_ACCESS_KEY }} \
--secret id=sak,${{ secrets.AWS_SECRET_ACCESS_KEY }} \
--secret id=ak,env=${{ secrets.AWS_ACCESS_KEY }} \
--secret id=sak,env=${{ secrets.AWS_SECRET_ACCESS_KEY }} \
-f Dockerfile.prod .
docker push $ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
echo "{image}={$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG}" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deployfe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
path: /tmp/workspace

- name: Deploy to S3
run: aws s3 sync /tmp/workspace/build/ s3://${{ secrets.FE_S3_URL }} --acl public-read
run: aws s3 sync /tmp/workspace/build/ s3://pv-validation-hub-website --acl public-read

- name: Run CF invalidation
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.FE_CF_ID }} --paths '/*'

0 comments on commit 37bf6d8

Please sign in to comment.