Skip to content

Commit

Permalink
Try to debug issue reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruechert committed Mar 25, 2024
1 parent 4c472f1 commit eba8cbe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .woodpecker/data-import.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ steps:
push:
image: ghcr.io/public-transport/transitous/import:latest
secrets: [ RSYNC_PRIVATE_KEY ]
environment:
GITHUB_TOKEN:
from_secret: github_issues_token
commands:
- echo "$${RSYNC_PRIVATE_KEY}" > deploy_key
- chmod 600 ./deploy_key
- "rsync -avz --progress --delete -e 'ssh -i ./deploy_key -p 22 -o StrictHostKeyChecking=no' out/ [email protected]:"
- rm deploy_key
environment:
GITHUB_TOKEN:
from_secret: github_issues_token
2 changes: 2 additions & 0 deletions ci/fetch-feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ def do_fetch(feed: str):
print(error.output.decode())
if "GITHUB_TOKEN" in os.environ:
create_feed_error_issue(feed, error.output.decode(), os.environ["GITHUB_TOKEN"])
else
prit("Can't report issue, because no token is set")


match run_reason:
Expand Down

0 comments on commit eba8cbe

Please sign in to comment.