Commit 5b4100cc authored by Shinya Maeda's avatar Shinya Maeda

Merge branch 'update-ci-template-default-branch-1' into 'master'

Update Pages CI/CD template examples to default branch

See merge request gitlab-org/gitlab!56298
parents 2f21b551 a2854fd9
---
title: Update Pages template examples to default branch
merge_request: 56298
author:
type: other
......@@ -11,5 +11,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -9,5 +9,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -13,5 +13,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -8,5 +8,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -11,5 +11,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -13,5 +13,5 @@ pages:
paths:
- node_modules
key: project
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -10,7 +10,8 @@ test:
script:
- hugo
except:
- master
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages:
script:
......@@ -19,4 +20,5 @@ pages:
paths:
- public
only:
- master
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -11,7 +11,8 @@ test:
- pip install hyde
- hyde gen
except:
- master
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages:
stage: deploy
......@@ -22,4 +23,5 @@ pages:
paths:
- public
only:
- master
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -18,7 +18,8 @@ test:
paths:
- test
except:
- master
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages:
stage: deploy
......@@ -28,4 +29,5 @@ pages:
paths:
- public
only:
- master
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -33,5 +33,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -8,5 +8,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -12,5 +12,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -12,7 +12,8 @@ test:
- bundle install --path vendor
- bundle exec middleman build
except:
- master
variables:
- $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
pages:
script:
......@@ -23,5 +24,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -8,5 +8,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -11,5 +11,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
......@@ -25,5 +25,5 @@ pages:
artifacts:
paths:
- public
only:
- master
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment