mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2025-12-05 20:40:18 -08:00
f
This commit is contained in:
4
.github/workflows/build_master.yml
vendored
4
.github/workflows/build_master.yml
vendored
@@ -46,7 +46,7 @@ jobs:
|
|||||||
- name: Publish search index release asset
|
- name: Publish search index release asset
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
@@ -59,7 +59,7 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
TOKEN="${PAT_TOKEN:-${GITHUB_TOKEN:-}}"
|
TOKEN="${GITHUB_TOKEN}"
|
||||||
if [ -z "$TOKEN" ]; then
|
if [ -z "$TOKEN" ]; then
|
||||||
echo "No token available for GitHub CLI" >&2
|
echo "No token available for GitHub CLI" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user