Skip to content

Commit cecc467

Browse files
authored
[CICD-232] Replace split image with site-deploy combined image (#53)
* Replace split image with site-deploy combined image * Add changeset * Swap secret for input variable * Add input vars to action * Add legacy env variables * Restore secrets * Call Docker image directly
1 parent 2566585 commit cecc467

File tree

7 files changed

+21
-203
lines changed

7 files changed

+21
-203
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@wpengine/github-action-wpe-site-deploy": patch
3+
---
4+
5+
[CICD-217] Replace split image with site-deploy combined image

.github/workflows/e2e-deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515
runs-on: ubuntu-latest
1616
outputs:
1717
status: ${{ steps.deploy.outputs.status }}
18-
steps:
18+
steps:
1919
- uses: actions/checkout@v3
2020
- name: Bump test plugin version number
2121
run: sed -i 's/0.0.1/0.0.2/' tests/data/plugins/test-plugin/test-plugin.php
2222
- name: GitHub Action Deploy to WP Engine
2323
id: deploy
2424
uses: ./
2525
with:
26-
# Deploy vars
27-
WPE_SSHG_KEY_PRIVATE: ${{ secrets.WPE_SSHG_KEY_PRIVATE }}
26+
# Deploy vars
27+
WPE_SSHG_KEY_PRIVATE: ${{ secrets.WPE_SSHG_KEY_PRIVATE }}
2828
WPE_ENV: ghae2e
2929
# Deploy Options
3030
SRC_PATH: "tests/data/plugins/test-plugin"

Dockerfile

Lines changed: 0 additions & 9 deletions
This file was deleted.

Dockerfiles/Dockerfile

Lines changed: 0 additions & 12 deletions
This file was deleted.

action.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,16 @@ inputs:
4646

4747
runs:
4848
using: "docker"
49-
image: "Dockerfile"
49+
image: wpengine/site-deploy:1.0.0
50+
env:
51+
WPE_SSHG_KEY_PRIVATE: ${{ inputs.WPE_SSHG_KEY_PRIVATE }}
52+
WPE_ENV: ${{ inputs.WPE_ENV }}
53+
PRD_ENV: ${{ inputs.PRD_ENV }}
54+
STG_ENV: ${{ inputs.STG_ENV }}
55+
DEV_ENV: ${{ inputs.DEV_ENV }}
56+
REMOTE_PATH: ${{ inputs.REMOTE_PATH }}
57+
SRC_PATH: ${{ inputs.SRC_PATH }}
58+
FLAGS: ${{ inputs.FLAGS }}
59+
PHP_LINT: ${{ inputs.PHP_LINT }}
60+
CACHE_CLEAR: ${{ inputs.CACHE_CLEAR }}
61+
SCRIPT: ${{ inputs.SCRIPT }}

entrypoint.sh

Lines changed: 0 additions & 118 deletions
This file was deleted.

exclude.txt

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)