-
-
Notifications
You must be signed in to change notification settings - Fork 11
22 lines (20 loc) · 644 Bytes
/
Copy pathmirror.yml
File metadata and controls
22 lines (20 loc) · 644 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Pushes the contents of the repo to the Codeberg mirror
name: 🪞 Mirror to Codeberg
on:
workflow_dispatch:
schedule:
- cron: '30 1 * * 0'
push:
tags: [ 'v*' ]
permissions:
contents: read
jobs:
codeberg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with: { fetch-depth: 0, persist-credentials: false }
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1
with:
target_repo_url: git@codeberg.org:alicia/frontend-benchmarks.git
ssh_private_key: ${{ secrets.CODEBERG_SSH }}