misc(github-actions): create mirror-to-codeberg.yml
This commit is contained in:
16
.github/workflows/mirror-to-codeberg.yml
vendored
Normal file
16
.github/workflows/mirror-to-codeberg.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: Mirror to Codeberg
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
sync-git:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: yesolutions/mirror-action@master
|
||||||
|
with:
|
||||||
|
REMOTE: 'https://codeberg.org/LucasGGamerM/moshidon.git'
|
||||||
|
GIT_USERNAME: LucasGGamerM
|
||||||
|
GIT_PASSWORD: ${{ secrets.CODEBERG_GIT_PASSWORD }}
|
||||||
Reference in New Issue
Block a user