Skip to content
name: Mirror to Tencent Code
on:
push:
delete:
jobs:
sync:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: mirror-repository
uses: spyoungtech/[email protected]
with:
REMOTE: 'https://git.code.tencent.com/Tencent_Open_Source/ScriptX.git'
GIT_USERNAME: ${{ secrets.TENCENT_CODE_GIT_USERNAME }}
GIT_PASSWORD: ${{ secrets.TENCENT_CODE_GIT_PASSWORD }}
DEBUG: true