Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tp-devops-m2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maxime Soudant
tp-devops-m2
Commits
930f48f6
Commit
930f48f6
authored
1 year ago
by
Maxime Soudant
Browse files
Options
Downloads
Patches
Plain Diff
test deployment
parent
832ac64e
Branches
master
No related tags found
No related merge requests found
Pipeline
#28323
passed
1 year ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-0
11 additions, 0 deletions
.gitlab-ci.yml
with
11 additions
and
0 deletions
.gitlab-ci.yml
+
11
−
0
View file @
930f48f6
...
...
@@ -24,3 +24,14 @@ docker-build:
-
if
:
$CI_COMMIT_BRANCH
exists
:
-
Dockerfile
deploy_prod
:
stage
:
deploy
script
:
-
echo "Deploy to production server"
environment
:
name
:
production
url
:
http://172.28.100.149:443
rules
:
-
if
:
$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when
:
manual
\ No newline at end of file
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