Skip to content

Commit

Permalink
fix s3 upload
Browse files Browse the repository at this point in the history
rtfpessoa committed Jan 6, 2023

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent c89192a commit 51cd785
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 51cd785

Please sign in to comment.