mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-24 00:48:47 +00:00
revert: 20bbc475ec
This commit is contained in:
parent
e147c7c2d2
commit
56cacb20b1
40
.github/workflows/sync.yml
vendored
40
.github/workflows/sync.yml
vendored
@ -1,40 +0,0 @@
|
|||||||
name: Sync Repo
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
gitsb:
|
|
||||||
name: Sync to GitSB
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Push to remote
|
|
||||||
run: |
|
|
||||||
git push --no-verify --force "https://$GIT_USERNAME:$GIT_PASSWORD@git.sb/baoshuo/OI-codes.git"
|
|
||||||
env:
|
|
||||||
GIT_USERNAME: project_62_bot
|
|
||||||
GIT_PASSWORD: ${{ secrets.GITSB_SYNC_TOKEN }}
|
|
||||||
|
|
||||||
acgit:
|
|
||||||
name: Sync to AcGit
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- name: Push to remote
|
|
||||||
run: |
|
|
||||||
git push --no-verify --force "https://$GIT_USERNAME:$GIT_PASSWORD@git.acwing.com/baoshuo/OI-codes.git"
|
|
||||||
env:
|
|
||||||
GIT_USERNAME: project_9950_bot
|
|
||||||
GIT_PASSWORD: ${{ secrets.ACGIT_SYNC_TOKEN }}
|
|
Loading…
Reference in New Issue
Block a user