aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/mirror.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/mirror.yml')
-rw-r--r--.github/workflows/mirror.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml
new file mode 100644
index 0000000..fc53925
--- /dev/null
+++ b/.github/workflows/mirror.yml
@@ -0,0 +1,17 @@
+name: Mirror
+on: [push]
+
+jobs:
+ mirror:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - name: Mirror to remote repository
+ uses: yesolutions/mirror-action@master
+ with:
+ REMOTE: "https://git.popov.link/popov.link.git"
+ GIT_USERNAME: ${{ secrets.GIT_USERNAME }}
+ GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}