Merge pull request #13 from Frederick888/ci-php83 into master #26
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
name: GitLab Sync | |
on: push | |
jobs: | |
branch-sync: | |
name: Synchronise Branches | |
runs-on: ubuntu-latest | |
steps: | |
- name: repo-sync | |
uses: wei/git-sync@v3 | |
with: | |
source_repo: "https://github.com/Frederick888/php-bencode.git" | |
source_branch: "refs/remotes/source/*" | |
destination_repo: "https://Frederick888:${{ secrets.GITLAB_ACCESS_TOKEN }}@git.tsundere.moe/Frederick888/php-bencode.git" | |
destination_branch: "refs/heads/*" | |
tag-sync: | |
name: Synchronise Tags | |
runs-on: ubuntu-latest | |
steps: | |
- name: repo-sync | |
uses: wei/git-sync@v3 | |
with: | |
source_repo: "https://github.com/Frederick888/php-bencode.git" | |
source_branch: "refs/tags/*" | |
destination_repo: "https://Frederick888:${{ secrets.GITLAB_ACCESS_TOKEN }}@git.tsundere.moe/Frederick888/php-bencode.git" | |
destination_branch: "refs/tags/*" |