File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ You can enable cache purging with the `CACHE_CLEAR` flag and perform PHP syntax
2727 - ' feature/**'
2828 workflow_dispatch :
2929 env :
30- SERVER_NAME : pressable # pressable or wpengine
30+ SERVER_TYPE : pressable # pressable or wpengine
3131 SERVER_ID : pressable-username # Pressable SFTP username or WP Engine environment name
3232 PROJECT_TYPE : theme # plugin or theme
3333 PROJECT_NAME : theme-name # Name of the plugin or theme
@@ -44,7 +44,7 @@ You can enable cache purging with the `CACHE_CLEAR` flag and perform PHP syntax
4444 with :
4545 SSH_PRIVATE_KEY : ${{ secrets.MY_SSH_KEY }}
4646 SERVER_ID : ${{ env.SERVER_ID }}
47- SERVER_TYPE : ${{ env.SERVER_NAME }}
47+ SERVER_TYPE : ${{ env.SERVER_TYPE }}
4848 REMOTE_PATH : ' wp-content/${{ env.PROJECT_TYPE }}s/${{ env.PROJECT_NAME }}'
4949 FLAGS : -azvrhi --inplace --delete --delete-excluded --exclude-from=.deployignore
5050 SCRIPT : ' bin/post-deploy.sh'
Original file line number Diff line number Diff line change @@ -42,15 +42,15 @@ init() {
4242
4343# Print deployment info
4444print_info () {
45- echo " --- Deployment info ---"
46- echo " Deploying to: ${SERVER_TYPE} "
47- echo " Server ID: ${SERVER_ID} "
48- echo " Source path: ${SRC_PATH} "
49- echo " Destination path: ${SERVER_DEST} "
50- echo " Flags: ${FLAGS_ARRAY[@]} "
51- echo " PHP linting: ${PHP_LINT} "
52- echo " Cache clear: ${CACHE_CLEAR} "
53- echo " Post-deploy script: ${SCRIPT} "
45+ echo " --- DEPLOYMENT INFO ---"
46+ echo " * Deploying to: ${SERVER_TYPE} "
47+ echo " * Server ID: ${SERVER_ID} "
48+ echo " * Source path: ${SRC_PATH} "
49+ echo " * Destination path: ${SERVER_DEST} "
50+ echo " * Flags: ${FLAGS_ARRAY[@]} "
51+ echo " * PHP linting: ${PHP_LINT} "
52+ echo " * Cache clear: ${CACHE_CLEAR} "
53+ echo " * Post-deploy script: ${SCRIPT} "
5454 echo " -----------------------"
5555}
5656
You can’t perform that action at this time.
0 commit comments