Files
.profile/.github/workflows/mirrors.yml
Guz013 713b20aaf2 update org files to 2023
Updated org files to match more similarly to @Org013/@Guz013
2023-06-13 10:13:54 -03:00

30 lines
668 B
YAML

name: "Mirrors"
on:
workflow_call:
inputs:
codeberg-repo:
required: false
type: string
secrets:
CODEBERG_USERNAME:
required: false
CODEBERG_TOKEN:
required: false
jobs:
to-codeberg:
if: ${{ inputs.codeberg-repo }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Mirror to Codeberg
uses: LoredDev/mirror-action@master
with:
REMOTE: ${{ inputs.codeberg-repo }}
GIT_USERNAME: ${{ secrets.CODEBERG_USERNAME }}
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}