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

Merge branch 'develop' into 'mouse.over.image'

# Conflicts:
#   config.toml
parents 4593fd46 b0dfcebb
Branches
Tags
2 merge requests!18Develop,!16Mouse.over.image
Pipeline #5582 passed with stage
in 6 seconds
...@@ -5,21 +5,36 @@ before_script: ...@@ -5,21 +5,36 @@ before_script:
- module load singularity/3.0.2 - module load singularity/3.0.2
- module load awscli - module load awscli
stages:
- build_stage
- deploy_stage
build: build:
stage: build_stage
script: script:
- singularity run 'docker://monachus/hugo' hugo - singularity run 'docker://monachus/hugo' hugo
artifacts: artifacts:
paths: paths:
- public - public/
expire_in: 1 week
cache:
paths:
- public/
deploy.dev:
stage: deploy_stage
script:
- singularity run 'docker://monachus/hugo' hugo deploy aws-dev --maxDeletes -1
dependencies:
- build
only: only:
- develop - develop
deploy:
deploy.live:
stage: deploy_stage
script: script:
- singularity run 'docker://monachus/hugo' hugo - singularity run 'docker://monachus/hugo' hugo deploy aws --maxDeletes -1
## - singularity run 'docker://monachus/hugo' hugo deploy aws --maxDeletes -1 dependencies:
## - 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)}' - build
artifacts:
paths:
- public
only: only:
- master - master
\ No newline at end of file
...@@ -82,4 +82,7 @@ paginate = 10 ...@@ -82,4 +82,7 @@ paginate = 10
[[deployment.targets]] [[deployment.targets]]
name = "aws" name = "aws"
URL = "s3://strandlab?region=us-east-2"
[[deployment.targets]]
name = "aws-dev"
URL = "s3://strandlab.dev?region=us-east-2" URL = "s3://strandlab.dev?region=us-east-2"
\ No newline at end of file
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