Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
609f4748
Commit
609f4748
authored
Oct 26, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'docs-trigger-variable' into 'master'
Add a trigger variable to docs trigger job See merge request !7089
parents
0e544db6
73742633
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
.gitlab-ci.yml
.gitlab-ci.yml
+8
-3
No files found.
.gitlab-ci.yml
View file @
609f4748
...
...
@@ -311,15 +311,20 @@ coverage:
-
coverage/assets/
# Trigger docs build
# https://gitlab.com/gitlab-com/doc-gitlab-com/blob/master/README.md#deployment-process
trigger_docs
:
stage
:
post-test
before_script
:
[]
image
:
"
alpine"
before_script
:
-
apk update && apk add curl
variables
:
GIT_STRATEGY
:
none
cache
:
{}
artifacts
:
{}
script
:
-
"
curl
-X
POST
-F
token=${DOCS_TRIGGER_TOKEN}
-F
ref=master
https://gitlab.com/api/v3/projects/38069/trigger/builds"
-
"
curl
-X
POST
-F
token=${DOCS_TRIGGER_TOKEN}
-F
ref=master
-F
variables[PROJECT]=ce
https://gitlab.com/api/v3/projects/38069/trigger/builds"
only
:
-
master
-
master
@gitlab-org/gitlab-ce
# Notify slack in the end
...
...
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