From 166c1ddd9ba51bbcc869188bc0eb26dd2999dc6d Mon Sep 17 00:00:00 2001 From: DimitriRomano Date: Sun, 15 Sep 2024 19:49:03 +0200 Subject: [PATCH] update s3 deploiement --- .github/workflows/pipeline-dev.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pipeline-dev.yml b/.github/workflows/pipeline-dev.yml index da91928..51efafb 100644 --- a/.github/workflows/pipeline-dev.yml +++ b/.github/workflows/pipeline-dev.yml @@ -31,6 +31,9 @@ jobs: - name: Install dependencies run: npm install + - name: Build + run: npm run build + - name: Upload to S3 uses: jakejarvis/s3-sync-action@master with: @@ -40,7 +43,7 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_REGION: ${{ secrets.AWS_REGION }} - SOURCE_DIR: 'build/' + SOURCE_DIR: 'dist/' build-and-push-image: runs-on: ubuntu-latest