aboutsummaryrefslogblamecommitdiff
path: root/.github/workflows/mirror.yml
blob: 3b637e36bcad67f615ca16f7f53bb0bb3ede05e6 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                                                                                              
name: Mirror to ARFNET

on: [push]

env:
  REMOTE_REPO: mail-conf
  REMOTE_SERVER: git.arf20.com

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 $REMOTE_REPO && git push -u https://${{ secrets.MIRROR_USER }}:${{ secrets.MIRROR_PASSWORD }}@$REMOTE_SERVER/$REMOTE_REPO master