Skip to content
Snippets Groups Projects
Commit b42b9fef authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Merge branch 'master' into 'develop'

Master

See merge request !11
parents 9652c287 e19f650d
Branches
Tags
2 merge requests!12Develop,!11Master
Pipeline #5502 passed with stage
in 4 seconds
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment