Files
lilleman 6e60df7008
CI / full-gate (push) Successful in 2m28s
Mirror / github-mirror (push) Successful in 2s
CI: mirror main + tags to GitHub after every merge to main; note true home in README
2026-07-03 15:47:56 +02:00

18 lines
434 B
YAML

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/*'