Files
discord_bot/.gitlab-ci.yml
2024-03-08 20:06:59 +03:00

24 lines
549 B
YAML

qodana:
only:
- master
- merge_requests
image:
name: jetbrains/qodana-python-community
entrypoint: [""]
variables:
QODANA_TOKEN: $qodana_token
script:
- qodana --save-report --results-dir=$CI_PROJECT_DIR/.qodana/results
--cache-dir=$CI_PROJECT_DIR/.qodana/cache
artifacts:
expose_as: 'qodana_report'
expire_in: 1 week
paths: [ '.qodana/results/' ]
deploy:
only:
- master
image: alpine
script:
- ssh-add <(echo '$SSH_KEY')
- ssh $BOT_HOST && cd /opt/discord/tarkov && git pull