diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..139cf4c2a4b091a87ba3f8ec3bed7d1b08c8745b --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +variables: + DEPLOY_ROOT: "/var/www/html/hcc-docs" + +stages: + - deploy + +deploy: + stage: deploy + environment: + name: hcc_docs_prod + url: http://10.71.110.145/hcc-docs + only: + - master + tags: + - hcc-docs-test + script: + - hugo -v + - rsync -avz --delete public/ $DEPLOY_ROOT