Merge pull request #104 from SanctumLabs/dependabot/pip/django-enviro… #105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 }} |