This commit is contained in:
+4
-1
@@ -48,6 +48,9 @@ steps:
|
||||
from_secret: aws_region
|
||||
S3_WEBUI_BUCKET:
|
||||
from_secret: s3_webui_bucket
|
||||
CF_DISTRIBUTION_ID:
|
||||
from_secret: cf_distribution_id
|
||||
commands:
|
||||
- cd __sapper__/export
|
||||
- aws s3 sync . s3://$S3_WEBUI_BUCKET
|
||||
- aws s3 sync --delete . s3://$S3_WEBUI_BUCKET
|
||||
- aws cloudfront create-invalidation --distribution-id $CF_DISTRIBUTION_ID --paths "/*"
|
||||
|
||||
Reference in New Issue
Block a user