🐞 fix: Update action and package info

This commit is contained in:
Keith Solomon
2025-08-22 15:57:43 -05:00
parent 47d487b3e8
commit b0feb322ab
2 changed files with 14 additions and 14 deletions

View File

@@ -1,11 +1,11 @@
name: Deploy to WPEngine
on:
# workflow_dispatch
workflow_dispatch
# Remove "workflow_dispatch" above and uncomment the lines below to enable deploy on push
# only do this once you're actually ready to start deploying to Flywheel
push:
branches:
- main
# push:
# branches:
# - main
jobs:
build:
@@ -47,10 +47,10 @@ jobs:
${{ runner.os }}-
- name: Install npm dependencies
run: yarn install
run: npm install
- name: Run build task
run: yarn build
run: npm run build
- name: Clean up node modules (not needed to deploy)
run: rm -rf node_modules
@@ -59,7 +59,7 @@ jobs:
uses: wpengine/github-action-wpe-site-deploy@v3
with:
WPE_SSHG_KEY_PRIVATE: ${{ secrets.WPE_SSHG_KEY_PRIVATE }}
WPE_ENV: cupemb
WPE_ENV: update-me
FLAGS: '-azvr --inplace --delete --exclude=".*"'
REMOTE_PATH: "wp-content/themes/cupe"
REMOTE_PATH: "wp-content/themes/update-me"
SCRIPT: "post-deploy.sh"