Skip to content

Commit

Permalink
hotfix: add no follow symlinks flag to ignore symlink (#233)
Browse files Browse the repository at this point in the history
* Fix: explicitly exclude un intentional dir uploading to CDN

* Fix: no follow symlinks
  • Loading branch information
imzedi authored Dec 17, 2024
1 parent 0c5f4b1 commit e394b01
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-pro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Publish to CDN
uses: jakejarvis/s3-sync-action@master
with:
args: --no-progress --exclude '.git/*' --exclude 'node_modules/*' --exclude 'build/*' --exclude '.github/*' --exclude 'github/*'
args: --no-progress --no-follow-symlinks --exclude '.git/*' --exclude 'node_modules/*' --exclude 'build/*' --exclude '.github/*'
env:
AWS_S3_BUCKET: 'unicons-iconscout-a5996f0'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-rc-pro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Publish to CDN
uses: jakejarvis/s3-sync-action@master
with:
args: --no-progress --exclude '.git/*' --exclude 'node_modules/*' --exclude 'build/*' --exclude '.github/*' --exclude 'github/*'
args: --no-progress --no-follow-symlinks --exclude '.git/*' --exclude 'node_modules/*' --exclude 'build/*' --exclude '.github/*'
env:
AWS_S3_BUCKET: 'unicons-iconscout-a5996f0'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Publish to CDN
uses: jakejarvis/s3-sync-action@master
with:
args: --no-progress --exclude '.git/*' --exclude 'node_modules/*' --exclude 'build/*' --exclude '.github/*' --exclude 'github/*'
args: --no-progress --no-follow-symlinks --exclude '.git/*' --exclude 'node_modules/*' --exclude 'build/*' --exclude '.github/*'
env:
AWS_S3_BUCKET: 'unicons-iconscout-a5996f0'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Publish to CDN
uses: jakejarvis/s3-sync-action@master
with:
args: --no-progress --exclude '.git/*' --exclude 'node_modules/*' --exclude 'build/*' --exclude '.github/*' --exclude 'github/*'
args: --no-progress --no-follow-symlinks --exclude '.git/*' --exclude 'node_modules/*' --exclude 'build/*' --exclude '.github/*'
env:
AWS_S3_BUCKET: 'unicons-iconscout-a5996f0'
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit e394b01

Please sign in to comment.