Skip to content

feat: webdav的exists检查给个缓存,减轻alist压力 #170

feat: webdav的exists检查给个缓存,减轻alist压力

feat: webdav的exists检查给个缓存,减轻alist压力 #170

Workflow file for this run

name: 'Sync Mirror'
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
fetch-tags: true
- run: |
mkdir -p ~/.ssh
ssh-keyscan gitlab.bangbang93.com >> ~/.ssh/known_hosts
echo "$MIRROR_SSH_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
git remote add gitlab [email protected]:bmclapi/openbmclapi.git
git push gitlab HEAD:master --force
git push gitlab --tags --force
env:
MIRROR_SSH_KEY: ${{ secrets.MIRROR_SSH_KEY }}