Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
howto-cards LEGACY VERSION
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
R3
howto-cards LEGACY VERSION
Commits
0564ed9d
Verified
Commit
0564ed9d
authored
3 years ago
by
Laurent Heirendt
Browse files
Options
Downloads
Patches
Plain Diff
integrate index saving into building stage for branch pipeline
parent
71ee1b0d
No related branches found
No related tags found
3 merge requests
!350
[release] Regular merge of develop
,
!349
Draft: [release] Regular merge of develop
,
!348
integrate index saving into building stage for branch pipeline
Pipeline
#52623
passed with warnings
3 years ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-12
2 additions, 12 deletions
.gitlab-ci.yml
with
2 additions
and
12 deletions
.gitlab-ci.yml
+
2
−
12
View file @
0564ed9d
...
...
@@ -68,18 +68,6 @@ save:commitIndex:
-
git push origin $CI_COMMIT_REF_NAME ||
true
-
git branch -D tmpBranch ||
true
save:copyIndex
:
image
:
name
:
alpine/git:latest
entrypoint
:
[
"
"
]
stage
:
save
rules
:
-
if
:
$CI_COMMIT_REF_NAME
script
:
# copy the index
-
cp .tmp/cards.md .
# build
# ------------------------------------------------------------------------------------
...
...
@@ -101,6 +89,8 @@ build:pages:
-
apt-get install -y -qq git-lfs
-
gem install bundler:$BUNDLER_VERSION && bundle install
script
:
# copy the index
-
cp .tmp/cards.md .
# Generate the configuration for forks (will use Gitlab Pages on personal namespaces)
-
|
if [ $CI_MERGE_REQUEST_ID ]; then
...
...
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