From 01d74dad6624a3a34f6a3a1af2ab7d6adfa33944 Mon Sep 17 00:00:00 2001 From: Dooho Yi Date: Mon, 17 Feb 2020 22:54:47 +0900 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5f19c93..d3c7a3a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,10 +8,20 @@ pages: - make publish artifacts: paths: - - /var/www/webapp_doohoyi/nosignal.hopto.org_site/pelican + - public/ only: - master +deploy: + stage: deploy + environment: production + script: + - sudo cp -R ./public/* /var/www/webapp_doohoyi/nosignal.hopto.org_site/pelican + tags: + - deploy + only: + - master + test: stage: test script: