🐞 fix: Update action and package info
This commit is contained in:
16
.github/workflows/wpengine.yml
vendored
16
.github/workflows/wpengine.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user