Merge pull request #14 from slotmachinedev/dev
Create Codeberg syncing action.
This commit is contained in:
commit
630b8f5d3f
1 changed files with 22 additions and 0 deletions
22
.github/workflows/codeberg.yml
vendored
Normal file
22
.github/workflows/codeberg.yml
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: Sync to Codeberg
|
||||
concurrency:
|
||||
group: ${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 */6 * * *"
|
||||
|
||||
jobs:
|
||||
codeberg:
|
||||
if: github.repository == 'VendroidEnhanced/Vendroid'
|
||||
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:VendroidEnhanced/Vendroid.git"
|
||||
ssh_private_key: ${{ secrets.CODEBERG_SSH_PRIVATE_KEY }}
|
Loading…
Reference in a new issue