forked from mirrors/fabulously-optimized
Create git-repo-sync.yml
This commit is contained in:
parent
b08e514ce2
commit
0f105a2f16
20
.github/workflows/git-repo-sync.yml
vendored
Normal file
20
.github/workflows/git-repo-sync.yml
vendored
Normal 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 }}
|
Loading…
Reference in a new issue