Update .gitea/workflows/mirror-to-codeberg.yml
Some checks failed
C++ Tests / test-fast (push) Successful in 2m48s
Mirror to Codeberg / mirror (push) Successful in 28s
C++ Tests / test-cgal (push) Failing after 2m3s
C++ Tests / test-fast (pull_request) Successful in 2m18s
C++ Tests / test-cgal (pull_request) Failing after 1m46s

This commit is contained in:
2026-05-15 08:59:06 +00:00
parent 28d05f5863
commit 4a036b8214

View File

@@ -4,7 +4,6 @@ on:
push:
branches:
- main
- dev
jobs:
mirror:
@@ -14,10 +13,11 @@ jobs:
- name: Mirror all branches to Codeberg
env:
CODEBERG_TOKEN: ${{ secrets.CODEBERG_TOKEN }}
GITEA_MIRROR_TOKEN: ${{ secrets.MIRROR_TOKEN }}
run: |
git clone --bare \
https://oauth2:${GITHUB_TOKEN}@git.eulernest.eu/conformallab/ConformalLabpp.git \
https://oauth2:${GITEA_MIRROR_TOKEN}@git.eulernest.eu/conformallab/ConformalLabpp.git \
repo.git
cd repo.git
git push --mirror \
https://TMoussa:${CODEBERG_TOKEN}@codeberg.org/TMoussa/ConformalLabpp.git
https://TMoussa:${CODEBERG_TOKEN}@codeberg.org/TMoussa/ConformalLabpp.git