Create git-repo-sync.yml

This commit is contained in:
Madis Otenurm 2022-09-03 15:32:17 +03:00 committed by GitHub
parent b08e514ce2
commit 0f105a2f16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
.github/workflows/git-repo-sync.yml vendored Normal file
View file

@ -0,0 +1,20 @@
# https://github.com/marketplace/actions/git-repo-sync
name: Git Repo Sync
on:
- push
- delete
jobs:
sync-bitbucket:
runs-on: ubuntu-latest
name: Git Repo Sync: BitBucket
steps:
- uses: actions/checkout@v2
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 }}