From 611d670d62f7eb11fe5ddd00f011269fc0ceb21f Mon Sep 17 00:00:00 2001 From: Swanny Date: Wed, 17 Apr 2024 22:08:48 -0400 Subject: [PATCH] fix: hugo dist path fix: s3 sync dist path fix: s3 sync dist path --- .github/workflows/ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2f9b535..81c0b6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: dist - path: dist + path: init4/dist deploy-prod: environment: name: Production @@ -38,7 +38,6 @@ jobs: uses: actions/download-artifact@v3 with: name: dist - path: dist - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v4 with: @@ -49,4 +48,4 @@ jobs: env: AWS_S3_BUCKET : ${{ secrets.AWS_S3_BUCKET }} run: | - aws s3 sync --delete --sse AES256 dist/ $AWS_S3_BUCKET + aws s3 sync --delete --sse AES256 .github/ $AWS_S3_BUCKET