Skip to content

Commit

Permalink
add github action to mirror repository to Gitea
Browse files Browse the repository at this point in the history
  • Loading branch information
cuqmbr authored Aug 26, 2023
1 parent ea0681f commit 6bc8273
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Mirror to Gitea
on: [push]
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://git.cuqmbr.xyz/cuqmbr/auto.bus_api.git'
GIT_USERNAME: cuqmbr
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}

0 comments on commit 6bc8273

Please sign in to comment.