Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Support
CI_Source
Commits
e2bc9cd3
Commit
e2bc9cd3
authored
Dec 23, 2020
by
Ben Avison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix deployment when no YAML files are deleted
Resolves bug introduced in commit
9c61e2f0
.
parent
6a7e6b2b
Pipeline
#729
passed with stage
in 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
No files found.
.gitlab-ci.yml
View file @
e2bc9cd3
...
...
@@ -30,7 +30,7 @@ generate:
# that USER and PASSWORD contain credentials of a user which has
# permission to push to the neighbouring project.
-
cd CI
-
git ls-files --deleted | xargs git rm
-
git ls-files --deleted | xargs
-r
git rm
-
git add *.yml
-
git diff --cached --quiet --exit-code || git commit -m "Refresh YAML files" -m "Generated by $CI_PIPELINE_URL"
-
URL=${CI_REPOSITORY_URL#*@}
...
...
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