go-pkg/.gitea/workflows/github-mirror.yml
xuu 8be5d358f1
All checks were successful
Go Bump / bump (push) Successful in 32s
Go Test / build (push) Successful in 38s
chore: add push to GH
2023-10-04 17:32:44 -06:00

30 lines
719 B
YAML

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 }}."