Some checks failed
C++ Tests / test (push) Failing after 1m12s
Replace JS action with plain git clone --bare + push --mirror. No Node.js required → runs directly on the Pi host without a container. Also upgrades from single-branch push to a full mirror of all refs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
541 B
YAML
24 lines
541 B
YAML
name: Mirror to Codeberg
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- dev
|
|
|
|
jobs:
|
|
mirror:
|
|
runs-on: eulernest
|
|
|
|
steps:
|
|
- name: Mirror all branches to Codeberg
|
|
env:
|
|
CODEBERG_TOKEN: ${{ secrets.CODEBERG_TOKEN }}
|
|
run: |
|
|
git clone --bare \
|
|
https://oauth2:${GITHUB_TOKEN}@git.eulernest.eu/conformallab/ConformalLabpp.git \
|
|
repo.git
|
|
cd repo.git
|
|
git push --mirror \
|
|
https://TMoussa:${CODEBERG_TOKEN}@codeberg.org/TMoussa/ConformalLabpp.git
|