Files
SDL3CPlusPlus/.github/workflows/mirror.yml
johndoe6345789 f0f3e22a3a Create mirror.yml for repository mirroring
Add GitHub Actions workflow for repository mirroring.
2026-01-16 22:21:26 +00:00

27 lines
569 B
YAML

name: mirror-repository
on:
push:
branches:
- '**'
workflow_dispatch:
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Mirror repository
uses: yesolutions/mirror-action@v0.7.0
with:
REMOTE_NAME: git
REMOTE: https://git.wardcrew.com/git/sdl3cplusplus.git
GIT_USERNAME: git
GIT_PASSWORD: 4wHhnUX7n7pVaFZi
PUSH_ALL_REFS: true
GIT_PUSH_ARGS: --tags --force --prune