Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
ProgGis
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Severin Steffensen Hjelseth
ProgGis
Commits
f935a826
Commit
f935a826
authored
1 year ago
by
Jakob Severin Steffensen Hjelseth
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
fe7dca9e
No related branches found
Branches containing commit
No related tags found
1 merge request
!3
Resolve "God html-struktur"
Pipeline
#232356
passed
1 year ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-10
6 additions, 10 deletions
.gitlab-ci.yml
with
6 additions
and
10 deletions
.gitlab-ci.yml
+
6
−
10
View file @
f935a826
deploy_staging
:
stage
:
deploy
script
:
-
echo "Deploy to staging server"
environment
:
name
:
staging
url
:
https://jshjelse.pages.stud.idi.ntnu.no/proggis/
workflow
:
rules
:
-
if
:
$CI_COMMIT_BRANCH
pages
:
stage
:
deploy
...
...
@@ -15,6 +11,6 @@ pages:
artifacts
:
paths
:
-
public
only
:
-
main
rules
:
-
if
:
$CI_COMMIT_BRANCH == "
main
"
environment
:
production
\ 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