Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jekyll-theme-lcsb-default
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
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Show more breadcrumbs
R3
outreach
themes
jekyll-theme-lcsb-default
Merge requests
!13
feat: use rules instead of only in gitlab-ci script
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
feat: use rules instead of only in gitlab-ci script
30-use-rules-instead-of-only
into
latest
Overview
0
Commits
2
Pipelines
2
Changes
2
Merged
Jacek Lebioda
requested to merge
30-use-rules-instead-of-only
into
latest
5 years ago
Overview
0
Commits
2
Pipelines
2
Changes
2
Expand
Closes
#30 (closed)
0
0
Merge request reports
Compare
latest
version 1
ccfb67c6
5 years ago
latest (base)
and
latest version
latest version
995090c0
2 commits,
5 years ago
version 1
ccfb67c6
1 commit,
5 years ago
2 files
+
8
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
.gitlab-ci.yml
+
7
−
4
Options
@@ -25,8 +25,9 @@ test:
# This will actually deploy the web site when pushing to master
pages
:
stage
:
deploy
only
:
-
master
rules
:
# Run only on branch named "latest"
-
if
:
$CI_COMMIT_BRANCH == "latest"
script
:
-
mv build public
-
echo "Your website is available at $CI_PAGES_URL"
@@ -41,5 +42,7 @@ release:
script
:
-
mkdir -p ~/.gem && echo "$API_KEY_BASE64" | base64 --decode > ~/.gem/credentials && chmod 0600 ~/.gem/credentials
-
gem build jekyll-theme-lcsb-default.gemspec && gem push jekyll-theme-lcsb-default*.gem
only
:
-
tags
rules
:
# Run only on master...
-
if
:
$CI_COMMIT_TAG
Loading