From 166f294f211bb19112f78d2c95196fb40e8e2b55 Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu> Date: Thu, 2 Jan 2020 00:07:22 -0600 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e99c252..d11781c 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 -- GitLab