Skip to content

Commit

Permalink
exclude node modules
Browse files Browse the repository at this point in the history
  • Loading branch information
terryzfeng committed Apr 8, 2024
1 parent ec54310 commit 635dee9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: burnett01/[email protected]
with:
switches: -avzr --delete
switches: -avzr --delete --exclude=node_modules
path: ./
remote_path: ${{ secrets.PROD_WC_LOCATION }}
remote_host: ${{ secrets.HOST }}
Expand All @@ -40,7 +40,7 @@ jobs:
if: github.event_name == 'push' && github.ref == 'refs/heads/dev'
uses: burnett01/[email protected]
with:
switches: -avzr --delete
switches: -avzr --delete --exclude=node_modules
path: ./
remote_path: ${{ secrets.DEV_WC_LOCATION }}
remote_host: ${{ secrets.HOST }}
Expand Down

0 comments on commit 635dee9

Please sign in to comment.