Skip to content

Commit

Permalink
Merge pull request #465 from rtfpessoa/test-actions
Browse files Browse the repository at this point in the history
fix s3 upload
  • Loading branch information
rtfpessoa committed Jan 6, 2023
2 parents 88b06ef + 51cd785 commit 81b0f67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -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 81b0f67

Please sign in to comment.