Skip to content

Commit 94cf03d

Browse files
committed
Use regular github token instead of OSBotify token to create and update release
1 parent 60d27cf commit 94cf03d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ jobs:
481481
- name: 🚀 Create prerelease 🚀
482482
run: gh release create ${{ env.STAGING_VERSION }} --title ${{ env.STAGING_VERSION }} --generate-notes --prerelease --target staging
483483
env:
484-
GITHUB_TOKEN: ${{ steps.setupGitForOSBotify.outputs.OS_BOTIFY_API_TOKEN }}
484+
GITHUB_TOKEN: ${{ github.token }}
485485

486486
- name: Upload artifacts to GitHub Release
487487
run: |
@@ -544,7 +544,7 @@ jobs:
544544
gh api --method POST /repos/Expensify/App/releases/generate-notes -f "tag_name=${{ env.PRODUCTION_VERSION }}" -f "previous_tag_name=$LATEST_RELEASE" | jq -r '.body' >> releaseNotes.md
545545
gh release edit ${{ env.PRODUCTION_VERSION }} --prerelease=false --latest --notes-file releaseNotes.md
546546
env:
547-
GITHUB_TOKEN: ${{ steps.setupGitForOSBotify.outputs.OS_BOTIFY_API_TOKEN }}
547+
GITHUB_TOKEN: ${{ github.token }}
548548

549549
- name: Warn deployers if production deploy failed
550550
if: ${{ failure() }}

0 commit comments

Comments
 (0)