Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
gitlab-ci
Commits
48c6c5c9
Commit
48c6c5c9
authored
6 years ago
by
Grzegorz Rola
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature/cache_svn' into 'master'
cache SVN for deploy See merge request wpdesk/gitlab-ci!31
parents
3643f878
d525a876
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab-ci-1.2.yml
+5
-0
5 additions, 0 deletions
gitlab-ci-1.2.yml
with
5 additions
and
0 deletions
gitlab-ci-1.2.yml
+
5
−
0
View file @
48c6c5c9
...
...
@@ -382,8 +382,13 @@ deploy to demo:
deploy to repository
:
<<
:
*job-deploy-template
cache
:
paths
:
-
svn_repository/${CI_PROJECT_NAME}
script
:
-
echo ${WPDESK_CI_VERSION}
-
mkdir -p svn_repository/${CI_PROJECT_NAME}
-
ln -s svn_repository/${CI_PROJECT_NAME} /tmp/svn-repository/${CI_PROJECT_NAME}
-
/tmp/deploy_repository.sh ${CI_PROJECT_NAME} ${CI_PROJECT_DIR}/release/${CI_PROJECT_NAME} /tmp/svn-repository/${CI_PROJECT_NAME}
-
'
curl
-X
POST
--data-urlencode
"payload={\"text\":
\"Projekt
<https://gitlab.com/wpdesk/${CI_PROJECT_NAME}|${CI_PROJECT_NAME}>
zdeployowany
do
repozytorium
WP
w
wersji
${CI_COMMIT_REF_NAME}\",
}"
https://hooks.slack.com/services/${SLACK_AUTH}'
environment
:
...
...
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