Skip to content

Commit

Permalink
ci: add mirror action
Browse files Browse the repository at this point in the history
  • Loading branch information
zumuta committed Nov 10, 2024
1 parent 1b9c203 commit d057dab
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Mirror to Codeberg

on:
push:
branches: ["**"]
tags: ["**"]
release:
types: ["published"]
workflow_dispatch:

jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: "Mirror to codeberg"
uses: cssnr/mirror-repository-action@master
with:
host: https://codeberg.org
username: ${{ secrets.CODEBERG_USER }}
password: ${{ secrets.CODEBERG_TOKEN }}

0 comments on commit d057dab

Please sign in to comment.