diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e99c252ad7de5907c92df360c5131198672555f7..d11781c2b82df28d22bfa467c7870c65094db8ec 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,12 +3,14 @@ variables: before_script: - module load singularity/3.0.2 + - module load awscli deploy: script: - singularity run 'docker://monachus/hugo' hugo - singularity run 'docker://monachus/hugo' hugo deploy aws --maxDeletes -1 + - aws s3 ls s3://www.strandlab.net/ --recursive | %{ "aws s3api put-object-acl --bucket www.strandlab.net --key "+$_.ToString().substring(30)+" --acl bucket-owner-full-control" } artifacts: paths: - public