Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
wpdesk
Predators
Shopify
Tools
gitlab-ci
Commits
210b5032
Commit
210b5032
authored
1 week ago
by
Sebastian Pisula
Browse files
Options
Downloads
Patches
Plain Diff
feature(core): refactor GitLab CI build rules structure
parent
4af38af2
No related branches found
No related tags found
1 merge request
!25
feature(core): refactor GitLab CI build rules structure
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gitlab-ci.yml
+3
-3
3 additions, 3 deletions
gitlab-ci.yml
with
3 additions
and
3 deletions
gitlab-ci.yml
+
3
−
3
View file @
210b5032
...
...
@@ -11,7 +11,7 @@ stages:
-
build
-
deploy
.
template
:
&
build-rules
.build-rules
:
rules
:
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"
||
$CI_COMMIT_REF_NAME
==
"devel"'
when
:
always
...
...
@@ -65,7 +65,7 @@ stages:
DEPLOY_HOST
:
$PRODUCTION_DEPLOY_HOST
build web frontend
:
<<
:
*
build-rules
extends
:
.
build-rules
image
:
node:latest
artifacts
:
paths
:
...
...
@@ -84,7 +84,7 @@ build web frontend:
-
npm run build
build web backend
:
<<
:
*
build-rules
extends
:
.
build-rules
image
:
composer:latest
artifacts
:
paths
:
...
...
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