Skip to content
Snippets Groups Projects
Commit a15e8629 authored by Michelle Weidling's avatar Michelle Weidling :blowfish:
Browse files

ci: keep main and develop artifacts

#55
parent 521f98fe
Branches
No related tags found
1 merge request!45ci: keep main and develop artifacts
Pipeline #148772 passed
......@@ -7,8 +7,11 @@ stages:
- deploy
- preserve-pages
build:
build_test:
image: docker.gitlab.gwdg.de/subugoe/emo/qviewer/node:latest
except:
- main
- develop
stage: build
script:
- npm install
......@@ -17,6 +20,20 @@ build:
paths:
- dist/
build_main_and_develop:
image: docker.gitlab.gwdg.de/subugoe/emo/qviewer/node:latest
only:
- main
- develop
stage: build
script:
- npm install
- quasar build
artifacts:
paths:
- dist/
expire_in: never
pages:
before_script:
- dnf install -y jq
......@@ -25,7 +42,7 @@ pages:
image: docker.gitlab.gwdg.de/mgoebel/swiss_knife/fedora:latest
# at the very early stage lets deploy for every branch
# only:
# - master
# - main
# - develop
stage: deploy
cache:
......@@ -59,7 +76,7 @@ pushback:
.production:
image: node:latest
only:
- master
- main
stage: deploy
script:
- npm install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment