fix s3 upload
This commit is contained in:
parent
c89192a37f
commit
51cd7854f9
1 changed files with 2 additions and 1 deletions
3
.github/workflows/release.yml
vendored
3
.github/workflows/release.yml
vendored
|
|
@ -22,8 +22,9 @@ jobs:
|
|||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: docs
|
||||
path: docs/
|
||||
- name: Publish to S3
|
||||
working-directory: docs
|
||||
run: |
|
||||
cd docs
|
||||
aws s3 sync --region eu-west-1 --delete . s3://diff2html.xyz --metadata-directive REPLACE --cache-control max-age=31557600
|
||||
aws cloudfront create-invalidation --region eu-west-1 --distribution-id $AWS_CF_DISTRIBUTION_ID --paths /index.html /demo.html /sitemap.xml /robots.txt
|
||||
|
|
|
|||
Loading…
Reference in a new issue