Update blueprint.json #517
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to WP Engine | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Build | |
env: | |
YARN_ENABLE_IMMUTABLE_INSTALLS: false | |
run: | | |
yarn install | |
composer prefix-dependencies | |
composer install --no-dev | |
yarn build:js | |
- name: Deploy to WP Engine | |
uses: wpengine/github-action-wpe-site-deploy@v3 | |
with: | |
# Deploy vars | |
WPE_SSHG_KEY_PRIVATE: ${{ secrets.WPE_SSHG_KEY_PRIVATE }} | |
WPE_ENV: wcposdev | |
# Deploy Options | |
# SRC_PATH: "." | |
REMOTE_PATH: "wp-content/plugins/woocommerce-pos" | |
FLAGS: -azvr --inplace --delete --delete-excluded --exclude-from=.distignore | |
# SCRIPT: "path/yourscript.sh" | |
CACHE_CLEAR: TRUE |