Skip to content

Commit

Permalink
Update GitHub Actions sync workflow to clone repository without mirro…
Browse files Browse the repository at this point in the history
…r and push directly to GitLab
  • Loading branch information
EliasDeHondt committed Feb 3, 2025
1 parent b8b0808 commit ebbe9c6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/sync-to-gitlab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:

- name: Push to GitLab
run: |
git clone --mirror https://github.com/EliasDeHondt/k10s.git
git clone https://github.com/EliasDeHondt/k10s.git
cd k10s
git remote set-url origin https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.com/EliasDeHondt/k10s.git
git push --mirror origin
git push --mirror https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.com/EliasDeHondt/k10s.git

0 comments on commit ebbe9c6

Please sign in to comment.