Skip to content

Commit

Permalink
fix(cd): move env for all steps
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Jun 19, 2023
1 parent 3fd2b79 commit 7b95ef9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,9 @@ jobs:

needs: [build, test]

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v3

Expand All @@ -230,6 +233,4 @@ jobs:

- name: Trigger deployment workflow
if: steps.semantic-release.outcome == 'success'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh workflow run publish-firmware-bundles.yml

0 comments on commit 7b95ef9

Please sign in to comment.