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
25eeaea7
Commit
25eeaea7
authored
4 years ago
by
Jacek Lebioda
Browse files
Options
Downloads
Patches
Plain Diff
fix: corrected paths, moved configs to .ci
parent
fc9c830a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!129
Develop
,
!128
Resolve "Deploy to staticpages VM"
,
!127
Resolve "Deploy to staticpages VM"
Pipeline
#23324
canceled
4 years ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.ci/_config_devel.yml
+0
-0
0 additions, 0 deletions
.ci/_config_devel.yml
.ci/_config_master.yml
+0
-0
0 additions, 0 deletions
.ci/_config_master.yml
.gitlab-ci.yml
+5
-4
5 additions, 4 deletions
.gitlab-ci.yml
with
5 additions
and
4 deletions
_config_devel.yml
→
.ci/
_config_devel.yml
+
0
−
0
View file @
25eeaea7
File moved
This diff is collapsed.
Click to expand it.
_config_master.yml
→
.ci/
_config_master.yml
+
0
−
0
View file @
25eeaea7
File moved
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
5
−
4
View file @
25eeaea7
...
...
@@ -19,16 +19,17 @@ build_pages:
-
gem install bundler:$BUNDLER_VERSION && bundle install
script
:
# Generate the configuration for forks (will use Gitlab Pages on personal namespaces)
-
'
echo
"url:
https://$CI_PROJECT_NAMESPACE.$CI_PAGES_DOMAIN\nbaseurl:
/$CI_PROJECT_NAME"
>>
_config_gitlab_pages.yml'
-
'
echo
"url:
https://$CI_PROJECT_NAMESPACE.$CI_PAGES_DOMAIN"
>>
.ci/_config_gitlab_pages.yml'
-
'
echo
"baseurl:
/$CI_PROJECT_NAME"
>>
.ci/_config_gitlab_pages.yml'
# If there is no config for the current branch, use the one for Gitlab Pages
-
'
if
[
!
-f
"_config_$CI_COMMIT_REF_NAME.yml"
];
then
mv
_config_gitlab_pages.yml
_config_$CI_COMMIT_REF_NAME.yml;
fi'
-
'
if
[
!
-f
"
.ci/
_config_$CI_COMMIT_REF_NAME.yml"
];
then
mv
.ci/
_config_gitlab_pages.yml
.ci/
_config_$CI_COMMIT_REF_NAME.yml;
fi'
# Display, which configuration is used
-
'
echo
"Configuration:
"
&&
cat
"_config_$CI_COMMIT_REF_NAME.yml"'
-
'
echo
"Configuration:
"
&&
cat
"
.ci/
_config_$CI_COMMIT_REF_NAME.yml"'
# Run Jekyll with custom configuration
-
bundle exec jekyll build -d build --config "_config.yml,_config_$CI_COMMIT_REF_NAME.yml"
-
bundle exec jekyll build -d build --config "_config.yml,
.ci/
_config_$CI_COMMIT_REF_NAME.yml"
generate the search index
:
...
...
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