From 8be5d358f13ccda7c1ba420bfc85119fe228facf Mon Sep 17 00:00:00 2001 From: xuu Date: Wed, 4 Oct 2023 16:59:16 -0600 Subject: [PATCH] chore: add push to GH --- .gitea/workflows/github-mirror.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/github-mirror.yml diff --git a/.gitea/workflows/github-mirror.yml b/.gitea/workflows/github-mirror.yml new file mode 100644 index 0000000..2eec912 --- /dev/null +++ b/.gitea/workflows/github-mirror.yml @@ -0,0 +1,29 @@ +name: Go Bump + +on: + push: + branches: [ "main" ] + +jobs: + bump: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + fetch-tags: true + + - name: Deploy to external repository + uses: https://git.sour.is/actions/github-action-push-to-another-repository@main + env: + API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }} + with: + # GitHub Action output files + source-directory: . + destination-github-username: sour-is + destination-repository-name: go-pkg + user-email: jon@xuu.cc + # It defaults to `main` + target-branch: "main" + + - run: echo "🍏 This job's status is ${{ job.status }}."