First website deployment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-08-24 18:07:40 +02:00
parent 72d0b39dc4
commit 380fffa332
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,16 @@
if [[ -z "${AWS_ACCESS_KEY_ID}" ]]; then
echo Missing AWS access key. Skip deployment.
exit 0
fi
if [[ -z "${AWS_SECRET_ACCESS_KEY}" ]]; then
echo Missing AWS secret key. Skip deployment.
exit 0
fi
if [ ! "$DRONE_COMMIT_BRANCH" == "master"]; then
echo Not on master branch. Skip deployment.
exit 0
fi
cd build && aws --endpoint-url https://s3.communiquons.org s3 sync . s3://geneit-app