Some checks failed
C++ Tests / test (push) Failing after 53s
Automatically pushes main and dev to the Codeberg mirror (codeberg.org/TMoussa/ConformalLabpp) after every push to eulernest. Requires CODEBERG_TOKEN secret in the eulernest repo settings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
483 B
YAML
22 lines
483 B
YAML
name: Mirror to Codeberg
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
|
|
jobs:
|
|
mirror:
|
|
runs-on: eulernest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0 # vollständige History für mirror-push
|
|
|
|
- name: Push to Codeberg mirror
|
|
run: |
|
|
git remote add codeberg https://TMoussa:${{ secrets.CODEBERG_TOKEN }}@codeberg.org/TMoussa/ConformalLabpp.git
|
|
git push codeberg HEAD:${{ github.ref_name }} --force
|