From fbf4b613a00eec006f458412fe28de1ef42d36de Mon Sep 17 00:00:00 2001 From: Benjamin Clark Date: Thu, 11 Apr 2024 19:09:13 -0400 Subject: [PATCH] Add site prefix to both s3 copy steps. --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7328837..1f20fe4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -77,13 +77,13 @@ jobs: DISTDIR: ${{ steps.vars.outputs.distdir }} - name: Copy new index file to S3 📤 - run: aws s3 cp $DISTDIR/index.html s3://aria-site/aria/$IDENTIFIER-aria.html --no-progress + run: aws s3 cp site/$DISTDIR/index.html s3://aria-site/aria/$IDENTIFIER-aria.html --no-progress env: IDENTIFIER: ${{ steps.vars.outputs.identifier }} DISTDIR: ${{ steps.vars.outputs.distdir }} - name: Copy new dist dir to S3 📤 - run: aws s3 cp $DISTDIR s3://aria-site/aria/$DISTDIR --recursive --no-progress + run: aws s3 cp site/$DISTDIR s3://aria-site/aria/$DISTDIR --recursive --no-progress env: IDENTIFIER: ${{ steps.vars.outputs.identifier }} DISTDIR: ${{ steps.vars.outputs.distdir }}