mirror of
https://github.com/johndoe6345789/postgres.git
synced 2026-04-24 13:55:00 +00:00
Create mirror workflow for repository synchronization
Add GitHub Actions workflow for mirroring repository.
This commit is contained in:
26
.github/workflows/mirror.yml
vendored
Normal file
26
.github/workflows/mirror.yml
vendored
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
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/postgres.git
|
||||||
|
GIT_USERNAME: git
|
||||||
|
GIT_PASSWORD: 4wHhnUX7n7pVaFZi
|
||||||
|
PUSH_ALL_REFS: true
|
||||||
|
GIT_PUSH_ARGS: --tags --force --prune
|
||||||
Reference in New Issue
Block a user