Skip to content

Commit 94f10e2

Browse files
committed
changed access token
Signed-off-by: kumarabd <[email protected]>
1 parent 5a977b1 commit 94f10e2

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

.github/workflows/build-and-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
with:
5555
repo: layer5io/getnighthawk
5656
version: ${{ github.event.inputs.version }}
57-
token: ${{ secrets.GLOBAL_PAT }}
57+
token: ${{ secrets.GH_ACCESS_TOKEN }}
5858
os: ${{ matrix.os }}
5959
architecture: ${{ matrix.architecture }}
6060
distribution: ${{ matrix.distribution }}

scripts/publish.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ RELEASE_URL="https://$GITHUB_API_URL/repos/$INPUT_REPO/releases"
6666
RELEASE_UPLOAD_URL=$(curl -H "Authorization: token $TOKEN" $RELEASE_URL | jq -r '.[] | select(.tag_name == "'${INPUT_VERSION}'")' | jq -r .upload_url)
6767
pattern="{?"
6868
RELEASE_ASSET_URL="${RELEASE_UPLOAD_URL%$pattern*}"
69-
printf "INFO\tJQ VERSION \n"
70-
jq --version
71-
printf "INFO\tRELEASE UPLOAD URL ${RELEASE_URL}\n"
72-
printf "INFO\tRELEASE UPLOAD URL ${TOKEN}\n"
73-
printf "INFO\tRELEASE UPLOAD URL ${INPUT_VERSION}\n"
74-
printf "INFO\tRELEASE UPLOAD URL ${RELEASE_UPLOAD_URL}\n"
75-
printf "INFO\tRelease URL ${RELEASE_URL}\n"
76-
printf "INFO\tUploading to ${RELEASE_ASSET_URL}\n"
7769

7870
curl \
7971
-X POST \

0 commit comments

Comments
 (0)