# .woodpecker/sync-releases.yml when: event: cron cron: include: - sync-hourly steps: - name: sync_releases image: alpine/curl #debian:stable-slim environment: GITEA_TOKEN: from_secret: gitea_token GITHUB_TOKEN: from_secret: github_token GITEA_URL: from_secret: gitea_url REPO_LIST_FILE: repos_to_sync.txt commands: # 1. Установка зависимостей #- apt-get update && apt-get install -y curl jq bash - apk update && apk add jq bash # 2. Запуск скрипта синхронизации - bash .woodpecker/sync-releases.sh