Skip to content
Snippets Groups Projects
Unverified Commit 66f23d38 authored by Tim Kaune's avatar Tim Kaune
Browse files

Add push mirror

parent 3e825925
No related branches found
No related tags found
No related merge requests found
name: sync-git-mirror
run-name: Push ${{ github.ref_type }} ${{ github.ref_name }} to git mirror
on:
push:
branches:
- master
tags:
- v*
jobs:
git-sync:
runs-on: ubuntu-latest
steps:
- name: git-sync-master
uses: wei/git-sync@v3
with:
source_repo: "lepus2589/accelerate-lapacke"
source_branch: "master"
destination_repo: "${{ secrets.MIRROR_DESTINATION_REPO_URL }}"
destination_branch: "master"
destination_ssh_private_key: ${{ secrets.DESTINATION_SSH_PRIVATE_KEY }}
- name: git-sync-tags
uses: wei/git-sync@v3
with:
source_repo: "lepus2589/accelerate-lapacke"
source_branch: "refs/tags/*"
destination_repo: "${{ secrets.MIRROR_DESTINATION_REPO_URL }}"
destination_branch: "refs/tags/*"
destination_ssh_private_key: ${{ secrets.DESTINATION_SSH_PRIVATE_KEY }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment