Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
StrandLab2.net
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Strand Lab
StrandLab2.net
Commits
c69a428c
Commit
c69a428c
authored
5 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Setup dev deploy
parent
42f3415b
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!18
Develop
,
!15
Deploy.dev
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+3
-1
3 additions, 1 deletion
.gitlab-ci.yml
config.toml
+4
-1
4 additions, 1 deletion
config.toml
with
7 additions
and
2 deletions
.gitlab-ci.yml
+
3
−
1
View file @
c69a428c
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
config.toml
+
4
−
1
View file @
c69a428c
...
...
@@ -82,4 +82,7 @@ paginate = 10
[[deployment.targets]]
name
=
"aws"
URL
=
"s3://strandlab?region
=
us-east
-2
"
\ No newline at end of file
URL
=
"s3://strandlab?region
=
us-east
-2
"
[[
deployment.targets
]]
name
=
"aws-dev"
URL
=
"s3://strandlab.dev?region
=
us-east
-2
"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment