Skip to content

Commit ba06f1e

Browse files
committed
chore(workflow): add mirror workflow
1 parent da95089 commit ba06f1e

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Mirror to Codeberg
2+
3+
on:
4+
push:
5+
branches:
6+
- '**'
7+
delete:
8+
workflow_dispatch:
9+
10+
jobs:
11+
mirror:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout (full mirror)
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Push mirror to Codeberg
20+
run: |
21+
git remote add codeberg https://${{ secrets.CODEBERG_TOKEN }}@codeberg.org/noctalia-dev/noctalia-shell.git
22+
git push --mirror codeberg

0 commit comments

Comments
 (0)