summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/mirror.yml14
1 files changed, 14 insertions, 0 deletions
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
+