Skip to content

Commit

Permalink
Fix deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-md committed Dec 4, 2023
1 parent 2b6e3a4 commit 6a73090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/s3_upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -ev
aws s3 sync ./out $BUCKET --delete

# Finally, upload all HTML files again but w/o an extention so that URLs like /welcome open the right page
for file in $(find ./out -name '*.html' | sed 's|^\./||'); do
for file in $(find . -name '*.html' | sed 's|^\./||'); do
aws s3 cp ${file%} $BUCKET/${file%.*} --content-type 'text/html'
done

0 comments on commit 6a73090

Please sign in to comment.