Skip to content

Commit

Permalink
Use regular github token instead of OSBotify token to create and upda…
Browse files Browse the repository at this point in the history
…te release
  • Loading branch information
roryabraham committed Sep 6, 2024
1 parent 60d27cf commit 94cf03d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ jobs:
- name: 🚀 Create prerelease 🚀
run: gh release create ${{ env.STAGING_VERSION }} --title ${{ env.STAGING_VERSION }} --generate-notes --prerelease --target staging
env:
GITHUB_TOKEN: ${{ steps.setupGitForOSBotify.outputs.OS_BOTIFY_API_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}

- name: Upload artifacts to GitHub Release
run: |
Expand Down Expand Up @@ -544,7 +544,7 @@ jobs:
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
gh release edit ${{ env.PRODUCTION_VERSION }} --prerelease=false --latest --notes-file releaseNotes.md
env:
GITHUB_TOKEN: ${{ steps.setupGitForOSBotify.outputs.OS_BOTIFY_API_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}

- name: Warn deployers if production deploy failed
if: ${{ failure() }}
Expand Down

0 comments on commit 94cf03d

Please sign in to comment.