Skip to content

Commit 81b0f67

Browse files
authored
Merge pull request #465 from rtfpessoa/test-actions
fix s3 upload
2 parents 88b06ef + 51cd785 commit 81b0f67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ jobs:
2222
uses: actions/download-artifact@v3
2323
with:
2424
name: docs
25+
path: docs/
2526
- name: Publish to S3
27+
working-directory: docs
2628
run: |
27-
cd docs
2829
aws s3 sync --region eu-west-1 --delete . s3://diff2html.xyz --metadata-directive REPLACE --cache-control max-age=31557600
2930
aws cloudfront create-invalidation --region eu-west-1 --distribution-id $AWS_CF_DISTRIBUTION_ID --paths /index.html /demo.html /sitemap.xml /robots.txt

0 commit comments

Comments
 (0)