mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2025-01-11 23:12:00 +00:00
feat: sync to git.sb
This commit is contained in:
parent
cb6341c8ed
commit
20bbc475ec
24
.github/workflows/sync.yml
vendored
Normal file
24
.github/workflows/sync.yml
vendored
Normal 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 }}
|
@ -6,6 +6,12 @@
|
||||
"options": {
|
||||
"tabWidth": 2
|
||||
}
|
||||
},
|
||||
{
|
||||
"files": "*.y{,a}ml",
|
||||
"options": {
|
||||
"tabWidth": 2
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user