ci: Fix .gitlab-ci.yml syntax

This commit is contained in:
Daan Sprenkels
2019-03-29 15:06:18 +01:00
parent 2dcd23a28c
commit 639d57d221

View File

@ -6,16 +6,18 @@ before_script:
- pip install -r requirements.txt pylint
stages:
- lint
- test
- deploy
lint:
pylint:
stage: test
script:
- pylint marietje/marietje marietje/metrics marietje/playerapi marietje/queues marietje/songs marietje/stats
deploy:
only: marietje-zuid
script: >
stage: deploy
only: ['marietje-zuid']
script: |
umask 077
mkdir -p "$HOME/.ssh"
cat <<EOF >"$HOME/.ssh/id_rsa"