Skip to content
Snippets Groups Projects
Commit aff83c86 authored by Vegard Murvold Sporstøl's avatar Vegard Murvold Sporstøl
Browse files

Update .gitlab-ci.yml

parent c2178758
No related branches found
No related tags found
2 merge requests!3Merge new master to dev,!2Uc 2
Pipeline #112900 failed
build:
stage: build
script:
deploy:
stage: deploy
image: python:3.8.5-slim
before_script:
- apt-get clean
- pip install -r backend/secfit/requirements.txt
cache:
paths:
- ~/.cache/pip/
paths:
- ~/.cache/pip/
services:
- postgres:latest
deploy:
stage: deploy
script:
- apt-get update -qy --allow-insecure-repositories
- apt-get install -y ruby-dev
......@@ -19,4 +17,5 @@ deploy:
- gem install dpl
- dpl --provider=heroku --app=secfit-group15 --api-key=$HEROKU_API_KEY --skip_cleanup
only:
- master
refs:
- master
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