Skip to content

Commit

Permalink
ci(cd): fix GITHUB_TOKEN source
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Jun 19, 2023
1 parent ca2dd46 commit 65e5184
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,6 @@ jobs:

needs: [build, test]

env:
GITHUB_TOKEN: ${{ vars.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3

Expand All @@ -233,5 +230,5 @@ jobs:
- name: Trigger deployment workflow
if: steps.semantic-release.outcome == 'success'
env:
GITHUB_TOKEN: ${{ vars.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }}
run: gh workflow run publish-firmware-bundles.yml

0 comments on commit 65e5184

Please sign in to comment.