Skip to content

Commit

Permalink
fix: repoSlug for GitLab CI (#231)
Browse files Browse the repository at this point in the history
* Fix repoSlug

Fix a misunderstanding because Greenkeeper and GitLab define a "slug" differently.

* add more debugging output

* more debug output

* add origin to checkout

* cleanup
  • Loading branch information
baer95 authored and Realtin committed Jun 6, 2019
1 parent 293457d commit 819bd16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci-services/gitlab.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const env = process.env

module.exports = {
repoSlug: env.CI_PROJECT_PATH_SLUG,
repoSlug: env.CI_PROJECT_PATH,
branchName: env.CI_COMMIT_REF_NAME,
correctBuild: /^greenkeeper\/.+/.test(env.CI_COMMIT_REF_NAME),
uploadBuild: true
Expand Down

0 comments on commit 819bd16

Please sign in to comment.