Skip to content

Commit 7c063a5

Browse files
committed
chore: Changed PAT to F5 + moved owner/repo to secrets
1 parent 64bcaa4 commit 7c063a5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/build-push.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ env:
4242
FRONT_DOOR_USERNAME: ${{ secrets.FRONT_DOOR_USERNAME }}
4343
FRONT_DOOR_PASSWORD: ${{ secrets.FRONT_DOOR_PASSWORD }}
4444
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
45-
OWNER: nginxinc
46-
REPO: nginx-hugo-theme
4745
jobs:
4846
prod-check-branch:
4947
runs-on: ubuntu-24.04
@@ -86,9 +84,9 @@ jobs:
8684
curl -L \
8785
-X POST \
8886
-H "Accept: application/vnd.github+json" \
89-
-H "Authorization: Bearer ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
87+
-H "Authorization: Bearer ${{ secrets.F5_CLA_TOKEN }}" \
9088
-H "X-GitHub-Api-Version: 2022-11-28" \
91-
"https://api.github.com/repos/${{ env.OWNER }}/${{ env.REPO }}/dispatches" \
89+
"https://api.github.com/repos/${{ secrets.OWNER }}/${{ secrets.REPO }}/dispatches" \
9290
-d "{"event_type": "trigger-slack-notification", "client_payload": {"previewURL": "${{ env.PREVIEW_URL }}", "author": "${{ github.event.client_payload.author}}", "tag_name": "${{ github.event.client_payload.tag_name }}", "release_name": "${{ github.event.client_payload.release_name }}"}}"
9391
env:
9492
PREVIEW_URL: ${{ needs.call-docs-build-push.outputs.PREVIEW_URL }}

0 commit comments

Comments
 (0)