Skip to content

chore(github) - add action to deploy to AWS S3 #402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 1, 2022
Merged

chore(github) - add action to deploy to AWS S3 #402

merged 6 commits into from
Feb 1, 2022

Conversation

martinhalford
Copy link
Member

Creates an GitHub "Action" to build and deploy to AWS S3.

Requires the following "SECRETS" to be specified in GitHub.

  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_S3_BUCKET

Signed-off-by: Martin Halford <[email protected]>
Signed-off-by: Martin Halford <[email protected]>
Signed-off-by: Martin Halford <[email protected]>
Signed-off-by: Martin Halford <[email protected]>
Signed-off-by: Martin Halford <[email protected]>
Copy link
Member

@mttrbrts mttrbrts left a comment

Choose a reason for hiding this comment

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

I'll add the secrets and merge shortly

@martinhalford
Copy link
Member Author

martinhalford commented Feb 1, 2022

@mttrbrts @jeromesimeon

I added extra commit to add logic to invalidate CloudFront distribution.

We will need to add the following secrets to the repo.

AWS_CLOUDFRONT_DISTRIBUTION_ID : ENZKBANCEVDP6
AWS_REGION : us-east-1

The invalidation is created after each deployment to S3 and can be seen here:
https://console.aws.amazon.com/cloudfront/v3/home?region=us-east-1#/distributions/ENZKBANCEVDP6/invalidations

@mttrbrts mttrbrts merged commit a652428 into accordproject:master Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants