Added aws s3 cp for releasing artifacts.

This commit is contained in:
Koen J
2024-10-20 07:46:41 +02:00
parent ea1ac86134
commit 0b4ab46563
3 changed files with 25 additions and 1 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ touch $DOCUMENT_ROOT/maintenance.file
# Swap over the content
echo "Deploying content..."
cp ./app/build/outputs/bundle/playstoreRelease/app-playstore-release.aab $DOCUMENT_ROOT/app-playstore-release.aab
aws s3 cp ./app/build/outputs/bundle/playstoreRelease/app-playstore-release.aab s3://artifacts-grayjay-app/app-playstore-release.aab
# Notify Cloudflare to wipe the CDN cache
echo "Purging Cloudflare cache for zone $CLOUDFLARE_ZONE_ID..."