ci: fix publish cmds
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
3916586919
commit
b78185ab37
|
@ -17,8 +17,8 @@ steps:
|
||||||
- name: publish
|
- name: publish
|
||||||
image: amazon/aws-cli:2.15.50
|
image: amazon/aws-cli:2.15.50
|
||||||
commands:
|
commands:
|
||||||
- s3 cp --recursive ./dist s3://$${S3_BUCKET}/
|
- aws s3 cp --recursive ./dist s3://$${S3_BUCKET}/
|
||||||
- cloudfront create-invalidation --distribution-id $${CLOUDFRONT_DISTRIBUTION} --paths '/*'
|
- aws cloudfront create-invalidation --distribution-id $${CLOUDFRONT_DISTRIBUTION} --paths '/*'
|
||||||
secrets:
|
secrets:
|
||||||
- S3_BUCKET
|
- S3_BUCKET
|
||||||
- CLOUDFRONT_DISTRIBUTION
|
- CLOUDFRONT_DISTRIBUTION
|
||||||
|
|
Loading…
Reference in New Issue
Block a user