Skip to content

Commit

Permalink
Create mirror.ymlAdd a workflow to mirror repo to CodeBerg
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Jul 9, 2023
1 parent 385384b commit 58f9edf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Pushes the contents of the repo to the Codeberg mirror
name: 🪞 Mirror to Codeberg
on:
workflow_dispatch:
schedule:
- cron: '30 0 * * 0'
jobs:
codeberg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with: { fetch-depth: 0 }
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url: git@codeberg.org:alicia/web-check.git
ssh_private_key: ${{ secrets.CODEBERG_SSH }}

0 comments on commit 58f9edf

Please sign in to comment.