Skip to content
Snippets Groups Projects

Deploy.dev

Merged Gervaise Henry requested to merge deploy.dev into develop
Viewing commit c69a428c
Next
Show latest version
2 files
+ 7
2
Preferences
File browser
Compare changes
+ 3
1
@@ -8,6 +8,8 @@ before_script:
build:
script:
- singularity run 'docker://monachus/hugo' hugo
- singularity run 'docker://monachus/hugo' hugo deploy aws-dev --maxDeletes -1
- aws s3 ls s3://strandlab.dev/ --recursive | awk '{cmd="aws s3api put-object-acl --acl bucket-owner-full-control --bucket strandlab.dev --key "$4; system(cmd)}'
artifacts:
paths:
- public
@@ -17,7 +19,7 @@ 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 | awk '{cmd="aws s3api put-object-acl --acl bucket-owner-full-control --bucket www.strandlab.net --key "$4; system(cmd)}'
## - aws s3 ls s3://strandlab/ --recursive | awk '{cmd="aws s3api put-object-acl --acl bucket-owner-full-control --bucket strandlab --key "$4; system(cmd)}'
artifacts:
paths:
- public