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: