This file contains 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
#!/usr/bin/env bash | |
# | |
# Sync generated site to S3 and invalidate Cloudfront distribution | |
if [ ! -f .env ]; then | |
echo "# Project environment variables...do not commit this file." >> .env | |
echo "AWS_CF_DIST_ID=" >> .env | |
echo "AWS_S3_URI=" >> .env | |
echo "Please add the necessary values to the .env file." | |
else |