Skip to content

Commit

Permalink
Mirror in opposite direction
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Feb 7, 2025
1 parent 67402b2 commit ee8f8d4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
repository: gysela-developpers/gyselalibxx
token: ${{secrets.GITLAB_PAT}}
ref: public
github-server-url: https://gitlab.maisondelasimulation.fr
- name: Update GitLab
run: |
git remote add gitlab https://ci_bot:${GITLAB_PAT}@gitlab.maisondelasimulation.fr/gysela-developpers/gyselalibxx.git
git fetch gitlab public
git push gitlab main:public
git remote add github https://github.com/gyselax/gyselalibxx.git
git fetch github ${{ github.SHA }}
git push gitlab ${{ github.SHA }}:public
shell: bash
env:
GITLAB_PAT: ${{secrets.GITLAB_PAT}}

0 comments on commit ee8f8d4

Please sign in to comment.