Skip to content

Sync Releases and Tags #80

Sync Releases and Tags

Sync Releases and Tags #80

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: bia-pain-bache/BPB-Worker-Panel
TARGET_REPO: ansoncloud8/BPB-Worker-Panel
run: |
python sync.py