nixcfg/.github/workflows/git-mirror.yml

19 lines
428 B
YAML
Raw Permalink Normal View History

2024-07-14 16:56:59 -04:00
name: "git-mirror"
on:
push:
branches:
- master
workflow_dispatch:
jobs:
gitlab-sync:
runs-on: ubuntu-latest
steps:
2024-07-14 17:04:17 -04:00
- uses: actions/checkout@main
with:
fetch-depth: 0
2024-07-14 17:04:17 -04:00
- uses: yesolutions/mirror-action@master
with:
REMOTE: 'https://gitlab.com/alyraffauf/nixcfg.git'
GIT_USERNAME: alyraffauf
GIT_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}