1
0
Fork 0

deploy updates

This commit is contained in:
Matthias Kretschmann 2022-09-17 22:35:32 +00:00 committed by GitHub
parent 4d53c82be5
commit ab814e5bd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -84,7 +84,7 @@ jobs:
if: github.ref == 'refs/heads/main'
with:
name: public
path: public
path: public/
deploy:
needs: build

View File

@ -11,7 +11,7 @@ SITEMAP_URL="https%3A%2F%2Fkremalicious.com%2Fsitemap.xml"
set -e;
function s3sync {
aws s3 sync public s3://"$1" \
aws s3 sync ../public s3://"$1" \
--include "*" \
--exclude "*.html" \
--exclude "sw.js" \
@ -28,7 +28,7 @@ function s3sync {
--delete \
--acl public-read
aws s3 sync public s3://"$1" \
aws s3 sync ../public s3://"$1" \
--exclude "*" \
--include "*.html" \
--include "sw.js" \