Skip to content

Commit

Permalink
Version Image (#6)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Dec 15, 2022
1 parent 8607207 commit e6c98d0
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 29 deletions.
28 changes: 0 additions & 28 deletions .changeset/swift-maps-grab.md

This file was deleted.

30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# @wpengine/site-deploy

## 1.0.0

### Major Changes

- 58eb612: Updates the main script to be more generic, allowing it to be used around different CI/CD Vendors.

In order to use this image, each CI/CD vendor implementation will need to set the environment variables accordingly:

```sh
WPE_ENV # The target WP Engine install name
REMOTE_PATH # Default is empty
SRC_PATH # Default is the current directory
FLAGS # Default is -azvr --inplace --exclude=".*"
PHP_LINT # Default is "FALSE"
CACHE_CLEAR # Default is "TRUE"
SCRIPT # Default is empty
```

Example of how to run this image:

```sh
docker run --rm \
-e "WPE_SSHG_KEY_PRIVATE" \
--env-file ./.env \
-v <full_path_of_site>:/site \
--workdir=/site \
wpengine/site-deploy:latest
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wpengine/site-deploy",
"version": "0.1.0",
"version": "1.0.0",
"private": true,
"engines": {
"node": ">=16",
Expand Down

0 comments on commit e6c98d0

Please sign in to comment.