diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e934c7e..58be556 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,8 +53,8 @@ lint:py: stage: lint needs: [] script: - - pip install pycodestyle - - pycodestyle --config=pycodestyle.cfg --count . + - pip install black==^21.12b0 + - black --diff . lint:js: image: node:14 @@ -114,7 +114,7 @@ deploy:production: - master environment: name: production - url: api.sahkoinsinoorikilta.fi + url: https://api.sahkoinsinoorikilta.fi when: manual variables: DOCKER_HOST: $CI_DOCKER_HOST