reinstall/.github/workflows/sync_to_gitlab.yml
2025-01-27 23:57:55 +08:00

19 lines
445 B
YAML

name: 同步到 Gitlab
on:
workflow_dispatch:
push:
jobs:
run:
name: 同步到 Gitlab
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: https://gitlab.com/bin456789/reinstall.git
GIT_USERNAME: username
GIT_PASSWORD: ${{ secrets.GITLAB_TOKEN }}
PUSH_ALL_REFS: false