Skip to content

Merge branch 'main' of https://github.com/wcpos/woocommerce-pos #563

Merge branch 'main' of https://github.com/wcpos/woocommerce-pos

Merge branch 'main' of https://github.com/wcpos/woocommerce-pos #563

Workflow file for this run

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