Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cotech
website
Commits
43228659
Commit
43228659
authored
2 years ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
Test servermigration branch
parent
8cc7fc32
No related branches found
Branches containing commit
No related tags found
1 merge request
!80
Server migration
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+19
-15
19 additions, 15 deletions
.gitlab-ci.yml
with
19 additions
and
15 deletions
.gitlab-ci.yml
+
19
−
15
View file @
43228659
---
image
:
ruby:2.6.6
stages
:
-
test
-
staging
-
production
-
test
-
staging
-
production
variables
:
JEKYLL_ENV
:
production
...
...
@@ -27,41 +28,44 @@ before_script:
test
:
stage
:
test
script
:
-
bundle exec jekyll build -d test
-
bundle exec jekyll build -d test
artifacts
:
paths
:
-
test
-
test
except
:
-
master
-
master
deploy:dev
:
stage
:
staging
script
:
-
bundle exec jekyll build -d public
-
rsync -aqz --delete-after public/ cotech@web.cotech.uk:sites/dev/
-
bundle exec jekyll build -d public
-
rsync -aqz --delete-after public/ cotech@web.cotech.uk:sites/dev/
artifacts
:
paths
:
-
public
-
public
environment
:
name
:
dev
url
:
https://dev.coops.tech
only
:
-
master
-
master
-
servermigration
deploy:production
:
stage
:
production
script
:
-
bundle exec jekyll build -d public
-
rsync -aqz --delete-after public/ cotech@web.cotech.uk:sites/default/
-
bundle exec jekyll build -d public
-
rsync -aqz --delete-after public/ cotech@web.cotech.uk:sites/default/
artifacts
:
paths
:
-
public
-
public
environment
:
name
:
production
url
:
https://www.coops.tech
only
:
-
master
-
master
-
servermigration
when
:
manual
after_script
:
-
rm -rf /root/.ssh/
-
rm -rf /root/.ssh/
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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