Last active
June 22, 2024 07:43
-
-
Save colorful-tones/bad9c34440dab1f37f0f90122fc04184 to your computer and use it in GitHub Desktop.
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 a WP Engine Development environment | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: GitHub Action Deploy to WP Engine | |
uses: wpengine/github-action-wpe-site-deploy@v3 | |
with: | |
REMOTE_PATH: "wp-content/" | |
WPE_SSHG_KEY_PRIVATE: ${{ secrets.WPE_SSHG_KEY_PRIVATE }} | |
WPE_ENV: <your_install_name_here> |
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 a WP Engine Production environment | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: GitHub Action Deploy to WP Engine | |
uses: wpengine/github-action-wpe-site-deploy@v3 | |
with: | |
REMOTE_PATH: "wp-content/" | |
WPE_SSHG_KEY_PRIVATE: ${{ secrets.WPE_SSHG_KEY_PRIVATE }} | |
WPE_ENV: <your_install_name_here> |
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 a WP Engine Staging environment | |
on: | |
push: | |
branches: | |
- stage | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: GitHub Action Deploy to WP Engine | |
uses: wpengine/github-action-wpe-site-deploy@v3 | |
with: | |
REMOTE_PATH: "wp-content/" | |
WPE_SSHG_KEY_PRIVATE: ${{ secrets.WPE_SSHG_KEY_PRIVATE }} | |
WPE_ENV: <your_install_name_here> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment