Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
m3p2-courses
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
M3P2
m3p2-courses
Commits
87d19cf7
Commit
87d19cf7
authored
Mar 19, 2019
by
Goutte
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean the CI conf.
parent
497cb232
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
.gitlab-ci.yml
.gitlab-ci.yml
+5
-7
No files found.
.gitlab-ci.yml
View file @
87d19cf7
stages
:
stages
:
-
deploy
-
deploy
# Deployment is done in a reverse manner.
# Instead of rsyncing the files on the servers, we notify them.
# They will `git pull` the master by themselves.
deploy
:
deploy
:
stage
:
deploy
stage
:
deploy
image
:
appropriate/curl:latest
image
:
appropriate/curl:latest
# image: byrnedo/alpine-curl:0.1
# > curl: host sh not found
# before_script:
# Host not found. But the runner has internet access?!
# - curl "https://courses.m3p2.ljbac.com/sync"
script
:
script
:
-
echo "Sending hook
s to the production servers
…"
-
echo "Sending hook
(s) to the production server(s)
…"
-
curl
"https://courses.m3p2.ljbac.com/sync"
-
curl
--no-buffer --silent --show-error https://courses.m3p2.ljbac.com/sync
-
echo "Deployed!"
-
echo "Deployed!"
# Ideally we should test all the pages of the website
# Ideally we should test all the pages of the website
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment