Merge pull request #399 from jrl-umi3218/pre-commit-ci-update-config #376
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: Sync with GitLab | |
on: | |
push: | |
branches: | |
- 'master' | |
jobs: | |
sync-with-gitlab: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
if: github.repository == 'jrl-umi3218/mc_rtc' | |
- name: Sync | |
run: | | |
git remote add gitlab https://oauth2:${{ secrets.GITLAB_TOKEN }}@gite.lirmm.fr/multi-contact/mc_rtc | |
git push gitlab master:master | |
if: github.repository == 'jrl-umi3218/mc_rtc' |