Skip to content

Commit

Permalink
Include config file with updated proxy files
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonpayton committed Dec 3, 2024
1 parent fb88650 commit 741d8b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/playground/php-cors-proxy-deployment/apply-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ set -euo pipefail
SITE_PHP="/usr/local/php${PHP_VERSION}/bin/php"
SITE_API_BASE="$( "$SITE_PHP" -r 'require "/scripts/env.php"; echo SITE_API_BASE;')"

echo Adding config file to updated proxy files
cp ~/cors-proxy-deployment/cors-proxy-config.php ~/updated-proxy-files/

echo Syncing staged files to production
rsync -av --delete --no-perms --omit-dir-times ~/updated-proxy-files/ /srv/htdocs/

Expand Down

0 comments on commit 741d8b8

Please sign in to comment.