ci: fix publish cmds
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
bdeshi 2024-05-17 09:32:57 +06:00
parent 3916586919
commit b78185ab37
Signed by: bdeshi
GPG Key ID: 410D03DA9A3468E0

View File

@ -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