CI: mirror main + tags to GitHub after every merge to main; note true home in README
CI / full-gate (push) Successful in 2m28s
Mirror / github-mirror (push) Successful in 2s

This commit was merged in pull request #3.
This commit is contained in:
2026-07-03 15:47:56 +02:00
parent c8981c12d3
commit 6e60df7008
3 changed files with 34 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
name: Mirror
on:
push:
branches: [main]
workflow_dispatch:
jobs:
github-mirror:
runs-on: docker-host
steps:
- uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
- run: |
git push --force \
"https://x-access-token:${{ secrets.MIRROR_GITHUB_TOKEN }}@github.com/larvit/plainpages.git" \
refs/remotes/origin/main:refs/heads/main 'refs/tags/*:refs/tags/*'