Skip to content

Commit

Permalink
chore(github_action): add generate_token to push-to-website (#1198)
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf authored Dec 16, 2024
1 parent c7181af commit 0db6053
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish-to-other-than-github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ jobs:
steps:
- name: Ensure proper version
run: echo "RELEASE_VERSION=$(echo ${{ github.event.client_payload.version }})" >> $GITHUB_ENV
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.OCMBOT_APP_ID }}
private_key: ${{ secrets.OCMBOT_PRIV_KEY }}
- name: Publish Release Event
uses: peter-evans/repository-dispatch@v3
with:
Expand Down

0 comments on commit 0db6053

Please sign in to comment.