Skip to content

Commit

Permalink
GH App permissions seem to be broken
Browse files Browse the repository at this point in the history
  • Loading branch information
shane-at-algo committed Oct 30, 2024
1 parent 5d34d64 commit 1883d9a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/update-dev-portal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ jobs:
trigger-build:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.BOT_ID }}
private-key: ${{ secrets.BOT_SK }}

- name: Trigger documentation build
run: |
# Set environment based on branch
Expand All @@ -27,7 +21,7 @@ jobs:
# Trigger repository_dispatch event
curl -X POST \
-H "Authorization: Bearer ${{ steps.app-token.outputs.token }}" \
-H "Authorization: token ${{ secrets.DISPATCH_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
-d "{\"event_type\": \"docs_update\", \"client_payload\": {\"ref\": \"${{ github.ref }}\", \"environment\": \"$ENV\"}}" \
https://api.github.com/repos/algorandfoundation/algorand-developer-portal/dispatches

0 comments on commit 1883d9a

Please sign in to comment.