mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 08:33:55 -05:00
32 lines
883 B
YAML
32 lines
883 B
YAML
name: "git"
|
|
on:
|
|
push:
|
|
workflow_run:
|
|
workflows: ["flake: update inputs"]
|
|
types:
|
|
- completed
|
|
workflow_dispatch:
|
|
jobs:
|
|
sync-codeberg:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: check out repository
|
|
uses: actions/checkout@v4
|
|
- name: "sync codeberg mirror"
|
|
uses: yesolutions/mirror-action@v0.7.0
|
|
with:
|
|
REMOTE: 'https://codeberg.org/alyraffauf/nixcfg.git'
|
|
GIT_USERNAME: alyraffauf
|
|
GIT_PASSWORD: ${{ secrets.CODEBERG_PASSWORD }}
|
|
sync-gitlab:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: check out repository
|
|
uses: actions/checkout@v4
|
|
- name: "sync gitlab mirror"
|
|
uses: yesolutions/mirror-action@v0.7.0
|
|
with:
|
|
REMOTE: 'https://gitlab.com/alyraffauf/nixcfg.git'
|
|
GIT_USERNAME: alyraffauf
|
|
GIT_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}
|