Skip to content

Commit

Permalink
exclude node_modules from rsync
Browse files Browse the repository at this point in the history
playwright runs on the ci, not on the fixture
  • Loading branch information
jazzsequence committed Jul 31, 2024
1 parent 9282943 commit 3b5ec90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ jobs:
terminus local:clone ${{ env.SITE_ID }}
cd ~/pantheon-local-copies/"${{ env.SITE_ID }}"
echo "Copying latest changes and committing to the site."
rsync -a --exclude='.git' --exclude='status-*.txt' "${{ github.workspace }}/" .
rsync -a --exclude='.git' --exclude='status-*.txt' --exclude="node_modules" "${{ github.workspace }}/" .
git add -A
git commit -m "Update to latest commit: ${{ env.COMMIT_MSG }}" || true
git push origin master || true
Expand Down
2 changes: 1 addition & 1 deletion devops/scripts/setup-playwright-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ copy_pr_updates() {
echo "Commit Message: ${commit_msg}"
cd ~/pantheon-local-copies/"${site_id}"
echo -e "${YELLOW}Copying latest changes and committing to the site.${RESET}"
rsync -a --exclude='.git' --exclude='status-*.txt' "${workspace}/" .
rsync -a --exclude='.git' --exclude='status-*.txt' --exclude="node_modules" ${workspace}/" .
git add -A
git commit -m "Update to latest commit: ${commit_msg}" || true
git push origin master || true
Expand Down

0 comments on commit 3b5ec90

Please sign in to comment.