Create main.yml
[reverse-proxy-mod.git] / .github / workflows / main.yml
blob36920102454cf5f13a5ba81777e8e4acd0c901fc
1 # Sync repo to the Codeberg mirror
2 name: Repo sync GitHub -> SVR.JS Git server
3 on:
4   push:
5     branches:
6     - '**'
8 jobs:
9   svrjsgit:
10     runs-on: ubuntu-latest
11     steps:
12       - uses: actions/checkout@v2
13         with:
14           fetch-depth: 0
15       - uses: spyoungtech/mirror-action@v0.5.1
16         with:
17           REMOTE: "https://git.svrjs.org/reverse-proxy-mod.git"
18           GIT_USERNAME: github
19           GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}