Skip to content

lyric: 补全函数声明,准备发布 0.2.2 #537

lyric: 补全函数声明,准备发布 0.2.2

lyric: 补全函数声明,准备发布 0.2.2 #537

name: "同步仓库至 GitCode"
on: push
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 git@gitcode.net:sn/applemusic-like-lyrics.git
git push --force -u gitcode --all
git push --force -u gitcode --tags