Commit 5e062a7a authored by Luke Texon's avatar Luke Texon

Moved the dpl heroku installation to the shared runner

parent 92b76e13
Pipeline #114348 failed with stages
in 4 minutes and 39 seconds
......@@ -46,7 +46,10 @@ deploy to vm:
deploy to heroku:
stage: production
image: $DOCKER_IMAGE_LATEST
script: dpl --provider=heroku --app=ljt18-simplewebapp --api-key=$API_KEY
script:
- export PATH=/root/.gem/ruby/*/bin:$PATH
- gem install --user-install dpl-heroku
- dpl --provider=heroku --app=ljt18-simplewebapp --api-key=$API_KEY
environment:
name: Heroku
url: https://ljt18-simplewebapp.herokuapp.com/
......
FROM ubuntu:latest
RUN apt-get -y update \
&& apt-get -y install git maven openjdk-11-jre openjdk-11-jdk \
pandoc ruby=1:2.5.1 curl texlive-latex-recommended
RUN gem install dpl-heroku -v 1.10.14
&& apt-get -y install maven openjdk-11-jre openjdk-11-jdk \
pandoc texlive-latex-recommended
COPY src /src
COPY system.properties /system.properties
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment