An error occurred while loading the file. Please try again.
-
Gervaise Henry authoredfa409e64
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
This GitLab CI configuration is valid.
Learn more
.gitlab-ci.yml 621 B
variables:
GIT_SUBMODULE_STRATEGY: recursive
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://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
only:
- master