Skip to content
Snippets Groups Projects
Commit f935a826 authored by Jakob Severin Steffensen Hjelseth's avatar Jakob Severin Steffensen Hjelseth
Browse files

Update .gitlab-ci.yml file

parent fe7dca9e
No related branches found
No related tags found
1 merge request!3Resolve "God html-struktur"
Pipeline #232356 passed
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment