From 2129fabfb1714f31acdae72dc27878746e1d5414 Mon Sep 17 00:00:00 2001 From: Dmytro Bogatov <dmytro@dbogatov.org> Date: Sat, 1 Dec 2018 18:05:21 -0500 Subject: [PATCH] Add deploy to production. --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b5297e0..3775cf9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,8 +4,10 @@ stages: - review - quality-security - release +- deploy variables: + URL: "example.com" # if you include 'website-deploy' INDEX: "index.html" REPO: "templates/simple-webpage" AUTHPASSWORD: "example" # change to "" (empty string) to disable authentication @@ -32,3 +34,5 @@ include: - 'https://git.dbogatov.org/templates/ci-snippets/raw/master/simple-website/dockerify.yml' - 'https://git.dbogatov.org/templates/ci-snippets/raw/master/simple-website/pages.yml' + +- 'https://git.dbogatov.org/templates/ci-snippets/raw/master/trigger-websites-deploy.yml' -- GitLab