Skip to content
Snippets Groups Projects

Add CI deploy job.

Merged Adam Caprez requested to merge add-deploy-job into master
1 file
+ 18
0
Compare changes
  • Side-by-side
  • Inline
.gitlab-ci.yml 0 → 100644
+ 18
0
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
Loading