modpack/.github/workflows/git-repo-sync.yml
Madis Otenurm 880ccbc7fc
Update git-repo-sync.yml
Thanks Kichura
2023-04-11 20:37:16 +03:00

22 lines
543 B
YAML

# https://github.com/marketplace/actions/git-repo-sync
name: Git Repo Sync
on:
- push
- delete
jobs:
sync-bitbucket:
if: github.repository_owner == 'Fabulously-Optimized'
runs-on: ubuntu-22.04
name: Git Repo Sync - BitBucket
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: wangchucheng/git-repo-sync@v0.1.0
with:
target-url: ${{ secrets.BITBUCKET_GIT }}
target-username: ${{ secrets.BITBUCKET_USERNAME }}
target-token: ${{ secrets.BITBUCKET_TOKEN }}