Don't fail if AWS upload credentials aren't there
parent
d071ac7720
commit
b8dc671c46
|
@ -22,9 +22,11 @@ else
|
|||
hugo
|
||||
|
||||
#
|
||||
# After building the website, we set the AWS credentials and uploda
|
||||
# After building the website, we set the AWS credentials and uplodad
|
||||
# everything to our AWS s3 bucket.
|
||||
#
|
||||
. /srv/cred/aws.sh
|
||||
/usr/local/bin/aws s3 cp /usr/share/blog/public/ s3://aws-website-pmpc-soegm/ --recursive
|
||||
if [ -f /srv/cred/aws.sh ]; then
|
||||
. /srv/cred/aws.sh
|
||||
/usr/local/bin/aws s3 cp /usr/share/blog/public/ s3://aws-website-pmpc-soegm/ --recursive
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue