Skip to content
Snippets Groups Projects

Master

Merged Gervaise Henry requested to merge master into develop
Compare and
1 file
+ 12
2
Preferences
File browser
Compare changes
+ 12
2
@@ -3,11 +3,21 @@ variables:
before_script:
- module load singularity/3.0.2
- module load awscli
build:
script:
- singularity run 'docker://monachus/hugo' hugo
artifacts:
paths:
- public
only:
- develop
deploy:
script:
- singularity run 'docker://gohugoio/hugo' hugo && hugo deploy aws --maxDeletes -1
- singularity run 'docker://monachus/hugo' hugo
- singularity run 'docker://monachus/hugo' hugo deploy aws --maxDeletes -1
- aws s3 ls s3://www.strandlab.net/ --recursive | awk '{cmd="aws s3api put-object-acl --acl bucket-owner-full-control --bucket www.strandlab.net --key "$4; system(cmd)}'
artifacts:
paths:
- public