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: push:
branches: branches:
- main - main
- dev
jobs: jobs:
mirror: mirror:
@@ -14,9 +13,10 @@ jobs:
- name: Mirror all branches to Codeberg - name: Mirror all branches to Codeberg
env: env:
CODEBERG_TOKEN: ${{ secrets.CODEBERG_TOKEN }} CODEBERG_TOKEN: ${{ secrets.CODEBERG_TOKEN }}
GITEA_MIRROR_TOKEN: ${{ secrets.MIRROR_TOKEN }}
run: | run: |
git clone --bare \ 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 repo.git
cd repo.git cd repo.git
git push --mirror \ git push --mirror \