Merge PR #192: chore(ci): mirror with --prune so GitHub branch deletes propagate
This commit was merged in pull request #192.
This commit is contained in:
@@ -15,5 +15,8 @@ jobs:
|
|||||||
git clone --mirror https://gitea.resolutionflow.com/chihlasm/resolutionflow.git repo
|
git clone --mirror https://gitea.resolutionflow.com/chihlasm/resolutionflow.git repo
|
||||||
cd repo
|
cd repo
|
||||||
git remote add github https://x-access-token:${{ secrets.GH_MIRROR_TOKEN }}@github.com/${{ secrets.GH_MIRROR_REPO }}
|
git remote add github https://x-access-token:${{ secrets.GH_MIRROR_TOKEN }}@github.com/${{ secrets.GH_MIRROR_REPO }}
|
||||||
git push github --all --force
|
# --all + --tags scopes the push to refs/heads/* and refs/tags/*,
|
||||||
git push github --tags --force
|
# avoiding refs/pull/* (which GitHub refuses with "deny updating a
|
||||||
|
# hidden ref"). --prune makes deletions on the Gitea side propagate.
|
||||||
|
git push github --all --prune --force
|
||||||
|
git push github --tags --prune --force
|
||||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -249,3 +249,6 @@ graphify-out/
|
|||||||
|
|
||||||
# remember skill runtime state (hook logs, PIDs)
|
# remember skill runtime state (hook logs, PIDs)
|
||||||
.remember/
|
.remember/
|
||||||
|
|
||||||
|
# MCP server config (per-machine, references local env vars for auth)
|
||||||
|
.mcp.json
|
||||||
|
|||||||
Reference in New Issue
Block a user