Update publish-new.yml

This commit is contained in:
Steve Ruiz 2023-06-28 11:27:04 +01:00
parent c22eb9d869
commit 9532854b37

View file

@ -12,13 +12,6 @@ jobs:
runs-on: ubuntu-latest-16-cores-open runs-on: ubuntu-latest-16-cores-open
steps: 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 - name: tldraw-repo-sync token
id: tldraw-repo-sync id: tldraw-repo-sync
uses: getsentry/action-github-app-token@v2 uses: getsentry/action-github-app-token@v2
@ -51,6 +44,6 @@ jobs:
- name: Publish - name: Publish
run: yarn tsx ./scripts/publish-new.ts run: yarn tsx ./scripts/publish-new.ts
env: env:
GH_TOKEN: ${{ steps.generate_token.outputs.token }} GH_TOKEN: ${{ secrets.STEVES_PUBLISH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
HUPPY_TOKEN: ${{ secrets.HUPPY_TOKEN }} HUPPY_TOKEN: ${{ secrets.HUPPY_TOKEN }}