Update publish-new.yml
This commit is contained in:
parent
78f93be1d7
commit
c22eb9d869
1 changed files with 8 additions and 1 deletions
9
.github/workflows/publish-new.yml
vendored
9
.github/workflows/publish-new.yml
vendored
|
@ -12,6 +12,13 @@ jobs:
|
|||
runs-on: ubuntu-latest-16-cores-open
|
||||
|
||||
steps:
|
||||
- name: Generate a token
|
||||
id: generate_token
|
||||
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92
|
||||
with:
|
||||
app_id: ${{ secrets.HUPPY_APP_ID }}
|
||||
private_key: ${{ secrets.HUPPY_APP_PRIVATE_KEY }}
|
||||
|
||||
- name: tldraw-repo-sync token
|
||||
id: tldraw-repo-sync
|
||||
uses: getsentry/action-github-app-token@v2
|
||||
|
@ -44,6 +51,6 @@ jobs:
|
|||
- name: Publish
|
||||
run: yarn tsx ./scripts/publish-new.ts
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
GH_TOKEN: ${{ steps.generate_token.outputs.token }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
HUPPY_TOKEN: ${{ secrets.HUPPY_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue