CI: the public releases also appear on the GitHub fork's Releases page
Changelog: - Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e86d74338d
commit
20477d299a
3 files changed
+127
-2
No files matched your search
@@ -551,3 +551,13 @@ jobs:
|
||||
curl -sSf --config - -X DELETE "$api/tags/$(jq -rn --arg s "$old_tag" '$s|@uri')" <<<"$auth" || true
|
||||
echo "pruned $old_tag"
|
||||
done
|
||||
|
||||
# The same releases on the GitHub fork's Releases page (mirror; Gitea stays
|
||||
# the source). Converging, so a run that failed here is mended by the next
|
||||
# release. GH_MIRROR_TOKEN = fine-grained PAT, Contents: write on that repo.
|
||||
- name: Mirror releases to GitHub
|
||||
if: env.DRY != 'true'
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_MIRROR_TOKEN }}
|
||||
GH_REPO: TeTeHacko/MeshCore-TTH
|
||||
run: bash .github/gh-release-mirror.sh
|
||||
Reference in new issue
Block a user