Skip to content

Merge pull request #104 from SanctumLabs/dependabot/pip/django-enviro… #105

Merge pull request #104 from SanctumLabs/dependabot/pip/django-enviro…

Merge pull request #104 from SanctumLabs/dependabot/pip/django-enviro… #105

# Ref: https://github.com/wangchucheng/git-repo-sync
name: BitBucket RepoSync
on:
push:
branches:
- main
- develop
jobs:
sync:
runs-on: ubuntu-latest
name: Bitbucket Repo Sync
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Mirror to Bitbucket
uses: wangchucheng/[email protected]
with:
# Such as https://github.com/SanctumLabs/some-repo-sync.git
target-url: ${{ secrets.BITBUCKET_REPO_URL }}
# Such as BrianLusina
target-username: ${{ secrets.BITBUCKET_USERNAME }}
# You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS_TOKEN }}
target-token: ${{ secrets.BITBUCKET_ACCESS_TOKEN }}