0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-09-19 23:45:25 +00:00

feat: sync to git.sb

This commit is contained in:
Baoshuo Ren 2022-05-26 11:21:26 +08:00
parent cb6341c8ed
commit 20bbc475ec
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68
2 changed files with 30 additions and 0 deletions

24
.github/workflows/sync.yml vendored Normal file
View File

@ -0,0 +1,24 @@
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 --force "https://$GIT_USERNAME:$GIT_PASSWORD@git.sb/baoshuo/OI-codes.git"
env:
GIT_USERNAME: project_62_bot
GIT_PASSWORD: ${{ secrets.GITSB_SYNC_TOKEN }}

View File

@ -6,6 +6,12 @@
"options": {
"tabWidth": 2
}
},
{
"files": "*.y{,a}ml",
"options": {
"tabWidth": 2
}
}
]
}