Skip to content

Commit

Permalink
workflows: deploy files and not folders for smart-camera-web
Browse files Browse the repository at this point in the history
  • Loading branch information
tams sokari committed Oct 31, 2023
1 parent 966c6d7 commit c57935b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit c57935b

Please sign in to comment.