Skip to content
2 changes: 1 addition & 1 deletion .github/workflows/wallet-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
with:
aws-access-key-id: ${{ secrets.PROD_AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
aws-region: us-east-2

- name: Deploy

Expand Down
6 changes: 3 additions & 3 deletions wallet/etc/deploy/deploy-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ set -e
set -u

if [ "${STAGE}" == "prod" ]; then
DISTRIBUTION=E2S4Y0ZV7EAMWM
DISTRIBUTION=E26KAJ3X9S922B
BUCKET=cryptid.identity.com
elif [ ${STAGE} == "preprod" ]; then
DISTRIBUTION=???
BUCKET=explorer-preprod.identity.com
elif [ ${STAGE} == "dev" ]; then
DISTRIBUTION=E1SU4WO39BJJ5E
DISTRIBUTION=E2JAYNP6V36M37
BUCKET=cryptid-dev.identity.com
fi

npx deploy-aws-s3-cloudfront --non-interactive --react --bucket ${BUCKET} --destination ${STAGE} --distribution ${DISTRIBUTION}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the destination (folder) in favour of a seperate bucket - let me know if you disagree

npx deploy-aws-s3-cloudfront --non-interactive --react --bucket ${BUCKET} --distribution ${DISTRIBUTION}