1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 13:30:05 +08:00
SpaceVim/.github/workflows/remote.yml
2021-09-09 21:13:23 +08:00

24 lines
532 B
YAML

name: mirror
on: [push]
jobs:
check:
strategy:
fail-fast: false
matrix:
mirror: ["gitee", "coding", "gitlab"]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 0
- name: Push to ${{ matrix.mirror }}
env:
BOTSECRET: ${{ secrets.BOTSECRET }}
BOTSECRET_GITHUB: ${{ secrets.BOTSECRET_GITHUB }}
CODINGBOTSECRET: ${{ secrets.CODINGBOTSECRET }}
run: .ci/update_mirror.sh ${{ matrix.mirror }}