Skip to content
Snippets Groups Projects
Commit 6034037a authored by Jan Habscheid's avatar Jan Habscheid
Browse files

Update gitlab CI - only on main and remove environment

parent 4c720b43
No related branches found
No related tags found
No related merge requests found
Pipeline #1637670 passed
...@@ -9,14 +9,13 @@ image: busybox ...@@ -9,14 +9,13 @@ image: busybox
pages: pages:
stage: deploy stage: deploy
environment: production
tags: tags:
- docker - docker
script: script:
- echo "The site will be deployed to $CI_PAGES_URL" # - echo "The site will be deployed to $CI_PAGES_URL"
- mv docs/build public # Move the build output to the "public" directory - mv docs/build public # Move the build output to the "public" directory
artifacts: artifacts:
paths: paths:
- public - public
rules: only:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - main
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment