From 6bc8273c005a49c5bb74212c0c114f649542faa7 Mon Sep 17 00:00:00 2001 From: cuqmbr <52876496+cuqmbr@users.noreply.github.com> Date: Sat, 26 Aug 2023 09:04:26 +0000 Subject: [PATCH] add github action to mirror repository to Gitea --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..76f8d02 --- /dev/null +++ b/.github/workflows/main.yml @@ -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 }}