Skip to content

Sync Releases and Tags #44

Sync Releases and Tags

Sync Releases and Tags #44

name: Sync Releases and Tags
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *' # 每天运行一次
push:
tags:
- '*'
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: pip install requests
- name: Sync Tags and Releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SOURCE_REPO: o0HalfLife0o/TVBoxOSC
TARGET_REPO: amclubs/iptv-tvbox
run: |
python sync.py