nezhahq-agent/.github/workflows/sync-release.yml
UUBulb d7ca50dd83
add a simple timeout check for sync script (#42)
* add a simple timeout check for sync script

* add workflow timeout
2024-07-21 16:18:25 +08:00

17 lines
359 B
YAML

name: Sync Release to Gitee
on:
workflow_dispatch:
jobs:
sync-release-to-gitee:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
GITEE_TOKEN: ${{ secrets.GITEE_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Sync to Gitee
run: |
pip3 install PyGitHub
python3 .github/workflows/sync.py