Skip to content

Commit

Permalink
exclude status check files
Browse files Browse the repository at this point in the history
  • Loading branch information
jazzsequence committed Jul 30, 2024
1 parent dce77a4 commit e3627a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions 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' "${workspace}"/ .
rsync -a --exclude='.git' --exclude='status-*.txt' "${workspace}/" .
git add -A
git commit -m "Update to latest commit: ${commit_msg}" || true
git push origin master || true
Expand All @@ -90,7 +90,7 @@ install_wp() {
if [[ "${type}" == 'subdom' ]]; then
is_subdomains="true"
fi

terminus wp "${site_id}".dev -- core multisite-install --title="${site_name}" --admin_user=wpcm [email protected] --subdomains="$is_subdomains" --url="${site_url}"

terminus wp "${site_id}".dev -- option update permalink_structure '/%postname%/'
Expand Down Expand Up @@ -144,7 +144,7 @@ set_up_subsite() {
else
# Create the sub-site only if it does not already exist.
terminus wp "${site_id}".dev -- site create --slug=foo --title="Foo" --email="[email protected]"
terminus wp "${site_id}".dev -- option update permalink_structure '/%postname%/' --url="$URL"
terminus wp "${site_id}".dev -- option update permalink_structure '/%postname%/' --url="$URL"
fi
terminus wp "${site_id}".dev -- option update permalink_structure '/%postname%/' --url="$URL"
}
Expand All @@ -162,7 +162,7 @@ install_wp_graphql() {
elif [ "${type}" == 'subdir' ]; then
url="${site_url}/foo"
fi

# activate if not single site
if [[ -n "$url" ]]; then
terminus wp "${site_id}.dev" -- plugin activate wp-graphql --url="$url"
Expand Down

0 comments on commit e3627a5

Please sign in to comment.