feat(actions): Add Gitea mirror push
This commit is contained in:
parent
0822b1b61f
commit
d303c9a7a8
1 changed files with 19 additions and 0 deletions
19
.github/workflows/mirror-push.yaml
vendored
Normal file
19
.github/workflows/mirror-push.yaml
vendored
Normal 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 }}
|
Loading…
Reference in a new issue