From ec6e91c066eb3afc9027c304c8d568156dc88a54 Mon Sep 17 00:00:00 2001 From: arf20 <35542215+arf20@users.noreply.github.com> Date: Tue, 23 Jan 2024 23:41:29 +0100 Subject: Add mirror CI workflow Github action to push to ARFNET mirror --- .github/workflows/mirror.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/mirror.yml diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..0c82676 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,13 @@ +name: Mirror to ARFNET + +on: [push] + +jobs: + push-mirror: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Push to remote repo + run: git push -u https://${{secrets.MIRROR_USER}}:${{secrets.MIRROR_PASSWORD}}@git.arf20.com/arfnet2-web master -- cgit v1.2.3