From 93924ecbb14b67ba0b67b0691ee878e0b37c5fff Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sat, 13 Apr 2019 20:10:06 -0700 Subject: [PATCH] Base image now includes `rsync` --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c8370e4..b245fc2 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,6 @@ PluginSVN: stage: deploy image: containers.ethitter.com:443/docker/images/php:7.3 before_script: - - apt-get update - - apt-get install -y rsync - curl -o ./bin/deploy.sh https://git-cdn.e15r.co/open-source/wp-org-plugin-deploy/raw/master/scripts/deploy.sh - chmod +x ./bin/deploy.sh script: ./bin/deploy.sh @@ -57,3 +55,7 @@ A sample is provided in [examples/gitattributes](./examples/gitattributes). If u # A set of files you probably don't want in your WordPress.org distribution /.gitattributes export-ignore ``` + +## Protecting deploys + +Choose a `WP_ORG_RELEASE_REF` value that starts with a consistent prefix. Doing so allows that prefix to be protected using GitLab's "Protected Branches" or "Protected Tags" features. -- GitLab