Merge branch 'shiling-main-patch-85500' into 'main' #181
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: GitlabSync | |
on: | |
- push | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
name: Git Repo Sync | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 10 | |
- name: Setup gitlab remote | |
env: | |
GITLAB_PUSH_URL_WITH_TOKEN: ${{ secrets.GITLAB_PUSH_URL_WITH_TOKEN }} | |
run: git remote add target ${GITLAB_PUSH_URL_WITH_TOKEN} | |
- name: Push the changes | |
run: git push -f --all target | |
- name: Push the tags | |
run: git push -f --tags target |