From cd2ad1a78095a4225c4031329cce34e38a6f2d63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonah=20Br=C3=BCchert?= Date: Sat, 23 Mar 2024 23:41:11 +0100 Subject: [PATCH] asd --- .woodpecker.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 907d5350..bf7d6e32 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -9,18 +9,20 @@ steps: image: ghcr.io/public-transport/transitous/import:latest commands: - git submodule update --init --checkout --remote - - ./ci/fetch-feeds.py timer +# - ./ci/fetch-feeds.py timer import: image: ghcr.io/public-transport/transitous/import:latest commands: - ./src/generate-attribution.py - ./src/generate-motis-config.py import - - cd out && ../ci/motis-import.py > /dev/null && cd .. + #- cd out && ../ci/motis-import.py > /dev/null && cd .. - src/generate-motis-config.py full push: image: ghcr.io/public-transport/transitous/import:latest + secrets: [ RSYNC_PRIVATE_KEY ] commands: - - echo "$RSYNC_PRIVATE_KEY" > deploy_key + - echo "$${RSYNC_PRIVATE_KEY}" > deploy_key + - sha256sum deploy_key - chmod 600 ./deploy_key - "rsync -avz --progress --delete -e 'ssh -i ./deploy_key -p 22 -o StrictHostKeyChecking=no' out/ rsync@vm-motis.spline.de:" - rm deploy_key