Skip to content
Snippets Groups Projects

Try to get auto deploy in CI with hugo docker

Merged Gervaise Henry requested to merge develop into master
Compare and
1 file
+ 14
14
Preferences
File browser
Compare changes
+ 14
14
image: monachus/hugo
variables:
GIT_SUBMODULE_STRATEGY: recursive
pages:
script:
- hugo
- hugo deploy aws --maxDeletes -1
artifacts:
paths:
- public
only:
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- module load singularity/3.0.2
deploy:
script:
- singularity run 'docker://gohugoio/hugo' hugo && hugo deploy aws --maxDeletes -1
artifacts:
paths:
- public
only:
- master
\ No newline at end of file