forked from mirrors/fabulously-optimized
880ccbc7fc
Thanks Kichura
22 lines
543 B
YAML
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 }}
|