Merge pull request #105 from SanctumLabs/dependabot/pip/django-5.1.5 #106
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: Gitlab RepoSync | |
on: | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
name: Gitlab Repo Sync | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Mirror to Gitlab | |
uses: wangchucheng/[email protected] | |
with: | |
# Such as https://github.com/BrianLusina/some-repo-sync.git | |
target-url: ${{ secrets.GITLAB_REPO_URL }} | |
# Such as BrianLusina | |
target-username: ${{ secrets.GITLAB_USERNAME }} | |
# You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS_TOKEN }} | |
target-token: ${{ secrets.GITLAB_ACCESS_TOKEN }} |