Update publish-new.yml

This commit is contained in:
Steve Ruiz 2023-06-28 11:16:53 +01:00
parent 78f93be1d7
commit c22eb9d869

View file

@ -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 }}