mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 05:30:07 +08:00
24 lines
532 B
YAML
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 }}
|
|
|