feat(actions): Add Gitea mirror push

This commit is contained in:
Sam Therapy 2023-05-14 00:34:26 +02:00
parent 0822b1b61f
commit d303c9a7a8
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
1 changed files with 19 additions and 0 deletions

19
.github/workflows/mirror-push.yaml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Mirror Push
on:
push:
branches: [master]
jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: mirror
uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://git.froth.zone/sam/Xdg.Net.git'
GIT_USERNAME: oauth2
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}