From b7934d4771f7893889ee8eccc64910a2215ea60b Mon Sep 17 00:00:00 2001 From: arf20 <35542215+arf20@users.noreply.github.com> Date: Wed, 24 Jan 2024 19:56:19 +0100 Subject: Add actions workflow to mirror ARFNET --- .github/workflows/mirror.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/mirror.yml (limited to '.github') diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..046fdd8 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,14 @@ +name: Mirror to ARFNET + +on: [push] + +jobs: + push-mirror: + runs-on: ubuntu-latest + steps: + - name: Clone repo + run: git clone https://github.com/${{ github.repository }} + + - name: Push to remote repo + run: cd ${{ github.workspace }} && git push -u https://${{ secrets.MIRROR_USER }}:${{ secrets.MIRROR_PASSWORD }}@git.arf20.com/arfnet2 master + -- cgit v1.2.3