resume-manpage/.woodpecker/.refresh.yml

17 lines
396 B
YAML
Raw Normal View History

2024-05-17 09:18:22 +06:00
when:
event: [push, manual]
branch: main
steps:
2024-05-17 10:59:50 +06:00
- name: publish/cloudfront
2024-05-17 09:18:22 +06:00
image: amazon/aws-cli:2.15.50
2022-05-24 16:10:42 +06:00
commands:
2024-05-17 09:32:57 +06:00
- aws cloudfront create-invalidation --distribution-id $${CLOUDFRONT_DISTRIBUTION} --paths '/*'
2024-05-17 09:18:22 +06:00
secrets:
- S3_BUCKET
- CLOUDFRONT_DISTRIBUTION
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_REGION
2024-05-17 10:59:50 +06:00
depends_on: [ build ]