ev/.gitea/workflows/github-mirror.yml

30 lines
715 B
YAML
Raw Normal View History

2023-10-04 16:33:41 -06:00
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
2023-10-04 16:33:41 -06:00
2023-10-04 16:33:41 -06:00
- name: Deploy to external repository
2023-10-04 16:33:41 -06:00
uses: https://git.sour.is/actions/github-action-push-to-another-repository@main
2023-10-04 16:33:41 -06:00
env:
API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }}
with:
# GitHub Action output files
2023-10-04 16:33:41 -06:00
source-directory: .
2023-10-04 16:33:41 -06:00
destination-github-username: sour-is
destination-repository-name: ev
user-email: jon@xuu.cc
# It defaults to `main`
target-branch: "main"
2023-10-04 16:33:41 -06:00
- run: echo "🍏 This job's status is ${{ job.status }}."