0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-23 21:08:47 +00:00

chore: sync to git.acwing.com

This commit is contained in:
Baoshuo Ren 2022-05-28 18:17:45 +08:00
parent 691b82df12
commit addb35edac
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

View File

@ -22,3 +22,19 @@ jobs:
env: env:
GIT_USERNAME: project_62_bot GIT_USERNAME: project_62_bot
GIT_PASSWORD: ${{ secrets.GITSB_SYNC_TOKEN }} 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 --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 }}