Skip to content
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

Deployment #3

Open
AndrewKvalheim opened this issue Oct 21, 2021 · 2 comments
Open

Deployment #3

AndrewKvalheim opened this issue Oct 21, 2021 · 2 comments
Assignees

Comments

@AndrewKvalheim
Copy link
Member

AndrewKvalheim commented Oct 21, 2021

Automate deployment from the main branch to https://attend.seagl.org/.

The manual process is:

# Build static site
make

# Deploy static site
aws s3 sync --acl 'public-read' --delete './dist/' "s3://$AWS_S3_BUCKET/"
aws cloudfront create-invalidation --distribution-id "$AWS_CF_DISTRIBUTION" --paths '/*'
@strugee
Copy link
Member

strugee commented Nov 25, 2023

Any reason we can't just deploy this to GitHub Pages instead of CloudFront?

@AndrewKvalheim
Copy link
Member Author

Nope, that should work fine. In 2020 when I started this S3 was just the solution I was most familiar with and the repository wasn’t even on GitHub. I still haven’t read much about GitHub Actions and still know GitHub Pages only as a Jekyll host.

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

No branches or pull requests

3 participants