CI: mirror main + tags to GitHub after every merge to main; note true home in README
This commit was merged in pull request #3.
This commit is contained in:
@@ -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/*'
|
||||
Reference in New Issue
Block a user