diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18ff1d6e..02086082 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -84,7 +84,7 @@ jobs: if: github.ref == 'refs/heads/main' with: name: public - path: public + path: public/ deploy: needs: build diff --git a/scripts/deploy-s3.sh b/scripts/deploy-s3.sh index 6382665d..2b189c1b 100755 --- a/scripts/deploy-s3.sh +++ b/scripts/deploy-s3.sh @@ -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" \