-
-
Save ajmalafif/4a45414d7230365467460b55a4fc3eed to your computer and use it in GitHub Desktop.
Set up TravisCI to sync an S3 bucket.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Two env variables must be added to TravisCI settings: | |
" AWS_SECRET_ACCESS_KEY | |
" AWS_ACCESS_KEY_ID | |
before_deploy: | |
pip install --user awscli | |
deploy: | |
provider: script | |
script: ~/.local/bin/aws s3 sync dist s3://MY_BUCKET_NAME --region=us-west-2 --delete | |
skip_cleanup: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment