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
23 lines
593 B
YAML
23 lines
593 B
YAML
name: Mirror to Codeberg
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
mirror:
|
|
runs-on: eulernest
|
|
|
|
steps:
|
|
- name: Mirror all branches to Codeberg
|
|
env:
|
|
CODEBERG_TOKEN: ${{ secrets.CODEBERG_TOKEN }}
|
|
GITEA_MIRROR_TOKEN: ${{ secrets.MIRROR_TOKEN }}
|
|
run: |
|
|
git clone --bare \
|
|
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 |