Skip to content

Add mirroring github action #1

Add mirroring github action

Add mirroring github action #1

Workflow file for this run

name: Push mirror to git.mysociety.org
on:
push:
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: '0'
- name: Push branch to git.mysociety.org
id: push_to_mirror
uses: mysociety/[email protected]
with:
git_ssh_key: ${{ secrets.PUBLICCVS_GIT_KEY }}
ssh_known_hosts: ${{ secrets.GIT_KNOWN_HOSTS }}
tag: ${{ github.ref_name }}
remote: 'ssh://[email protected]/data/git/public/commonlib.git'