ci: use better s3 cmd
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
b78185ab37
commit
bd172c68f3
|
@ -17,7 +17,7 @@ steps:
|
||||||
- name: publish
|
- name: publish
|
||||||
image: amazon/aws-cli:2.15.50
|
image: amazon/aws-cli:2.15.50
|
||||||
commands:
|
commands:
|
||||||
- aws s3 cp --recursive ./dist s3://$${S3_BUCKET}/
|
- aws s3 sync --delete ./dist s3://$${S3_BUCKET}/
|
||||||
- aws cloudfront create-invalidation --distribution-id $${CLOUDFRONT_DISTRIBUTION} --paths '/*'
|
- aws cloudfront create-invalidation --distribution-id $${CLOUDFRONT_DISTRIBUTION} --paths '/*'
|
||||||
secrets:
|
secrets:
|
||||||
- S3_BUCKET
|
- S3_BUCKET
|
||||||
|
|
Loading…
Reference in New Issue
Block a user