mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-27 15:34:26 -04:00
Rework Actions
This commit is contained in:
parent
7b6c28bd0c
commit
719d90bfdd
11 changed files with 308 additions and 189 deletions
34
.github/workflows/codeberg-mirror.yml
vendored
34
.github/workflows/codeberg-mirror.yml
vendored
|
@ -1,22 +1,22 @@
|
|||
name: Sync to Codeberg
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 */6 * * *"
|
||||
push:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 */6 * * *"
|
||||
|
||||
jobs:
|
||||
codeberg:
|
||||
name: Sync Codeberg and Github
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
|
||||
with:
|
||||
target_repo_url: "git@codeberg.org:thororen/Equicord.git"
|
||||
ssh_private_key: ${{ secrets.CODEBERG }}
|
||||
codeberg:
|
||||
name: Sync Codeberg and Github
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1
|
||||
with:
|
||||
target_repo_url: "git@codeberg.org:thororen/Equicord.git"
|
||||
ssh_private_key: ${{ secrets.CODEBERG }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue