mirror of
https://gitlab.science.ru.nl/technicie/MarietjeDjango.git
synced 2025-12-09 18:52:23 +01:00
ci: Fix .gitlab-ci.yml syntax
This commit is contained in:
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user