Files
plainpages/.gitea/workflows/mirror.yml
T
lilleman 058280934b
CI / full-gate (push) Successful in 3m36s
Mirror / github-mirror (push) Successful in 2s
Release / retag-image (push) Successful in 2s
CI: re-tag the gated image as semver + latest on vX.Y.Z tag push
2026-07-04 08:35:48 +02:00

19 lines
451 B
YAML

name: Mirror
on:
push:
branches: [main]
tags: ['**']
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/*'