core: 修正部分排版,允许背景传入空值以指示当前没有背景 #1160
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "同步仓库至 GitCode" | |
on: | |
push: | |
branches-ignore: | |
- i10n_* | |
jobs: | |
pre-release: | |
name: 同步仓库至 GitCode | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
name: 克隆仓库 | |
with: | |
lfs: true | |
- uses: kielabokkie/ssh-key-and-known-hosts-action@v1 | |
with: | |
ssh-private-key: ${{ secrets.AMLL_PUSH_KEY }} | |
ssh-host: gitcode.net | |
- name: 强制推送至 GitCode | |
run: | | |
git config lfs.allowincompletepush true | |
git config lfs.https://gitcode.net/sn/applemusic-like-lyrics.git/info/lfs.locksverify true | |
git fetch --all | |
git pull --all --unshallow | |
git remote add gitcode [email protected]:sn/applemusic-like-lyrics.git | |
git push --force -u gitcode --all | |
git push --force -u gitcode --tags |