diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b1a7f4ea..51413d59 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ stages: - prepare - test - build - - bar + - deploy cache: &global_cache key: @@ -40,30 +40,25 @@ lint: # cache: # <<: *global_cache -foo: - stage: bar - script: - - echo "Test!" - build: stage: build script: - npm run build cache: <<: *global_cache - artifacts: - paths: - - dist/ - expire_in: 1 week -# deploy: -# stage: deploy -# # dependencies: -# # - build -# script: -# - echo "Deploying to production..." -# - ls dist -# # environment: -# # name: production -# # url: https://vtt.f3l.de/ -# only: -# - master + # artifacts: + # paths: + # - dist/ + # expire_in: 1 week +deploy: + stage: deploy + # dependencies: + # - build + script: + - echo "Deploying to production..." + # - ls dist + # environment: + # name: production + # url: https://vtt.f3l.de/ + only: + - master