diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index c3a4eab8..a6d96f2b 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -40,12 +40,13 @@ jobs: with: args: >- --follow-symlinks --delete --exclude '*' --include - 'packages/components/smart-camera-web.js' + 'smart-camera-web.js' env: AWS_S3_BUCKET: '${{ secrets.AWS_S3_BUCKET }}' 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: ./packages/components DEST_DIR: '${{ env.DEST_DIR_COMPONENTS }}' embed: needs: diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 59e9e0fe..be7809fe 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -20,12 +20,13 @@ jobs: with: args: >- --follow-symlinks --delete --exclude '*' --include - 'packages/components/smart-camera-web.js' + 'smart-camera-web.js' env: AWS_S3_BUCKET: "${{ secrets.AWS_S3_BUCKET }}" 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: "./packages/components" DEST_DIR: "js/staging" embed: needs: [test]