main
Marc Riera Irigoyen 2020-06-30 01:10:14 +02:00
parent daf06c6746
commit 7d77bedbda
1 changed files with 25 additions and 0 deletions

25
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,25 @@
image: monachus/hugo
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- apt-get update
- apt-get --yes install rsync
build:
stage: build
script:
- hugo
artifacts:
paths:
- public
only:
- master
deploy:
stage: deploy
script:
- rsync -hrv --delete public/ /var/opt/gitlab-runner/builds/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/
only:
- master