fix: authenticate Pages artifact retrieval
Build and test / Tests and license checks (push) Has been cancelled
Build and test / OpenWrt 24.10.7 · x86-64 (push) Has been cancelled
Build and test / OpenWrt 25.12.4 · x86-64 (push) Has been cancelled
Build and test / OpenWrt 24.10.7 · ipq40xx-generic (push) Has been cancelled
Build and test / OpenWrt 25.12.4 · ipq40xx-generic (push) Has been cancelled
Build and test / OpenWrt 24.10.7 · mediatek-filogic (push) Has been cancelled
Build and test / OpenWrt 25.12.4 · mediatek-filogic (push) Has been cancelled
Build and test / OpenWrt 24.10.7 · ath79-generic (push) Has been cancelled
Build and test / OpenWrt 25.12.4 · ath79-generic (push) Has been cancelled
Build and test / OpenWrt 24.10.7 · ramips-mt7621 (push) Has been cancelled
Build and test / OpenWrt 25.12.4 · ramips-mt7621 (push) Has been cancelled
Build and test / Publish agent GitHub release assets (push) Has been cancelled
Build and test / Publish signed package repository (push) Has been cancelled

This commit is contained in:
2026-07-31 12:24:45 +03:00
parent cf5208979d
commit 163018f156
+3 -1
View File
@@ -289,6 +289,8 @@ jobs:
release-notes.md
- name: Prepare signed package repository
env:
GH_TOKEN: ${{ github.token }}
shell: bash
run: |
set -euo pipefail
@@ -297,7 +299,7 @@ jobs:
if [ -n "$artifact_url" ]; then
mkdir previous-pages
curl --fail --location --retry 3 \
--header "Authorization: Bearer ${GITHUB_TOKEN}" \
--header "Authorization: Bearer ${GH_TOKEN}" \
"$artifact_url" -o previous-pages.zip
unzip -q previous-pages.zip -d previous-pages
elif gh api "repos/${GITHUB_REPOSITORY}/pages/deployments?per_page=1" --jq 'length' | grep -qx '0'; then