kind: pipeline name: default type: docker steps: - name: epub image: python-slim commands: - pip install flake8 black - flake8 --ignore=501 - black --check - pip install -r requirements.txt - python run.py - name: pdf image: linuxserver/calibre commands: - bash -x convert.sh - bash -x upload.sh environment: USERNAME: from_secret: nextcloud_user PASSWORD: from_secret: nextcloud_password QTWEBENGINE_CHROMIUM_FLAGS: --no-sandbox when: branch: - master event: - push - cron