Skip to content

Commit a87c676

Browse files
fix: initialize bdp-ui token before git push (#11)
1 parent 16e6ef8 commit a87c676

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
run: yarn build
2626

2727
- name: Commit dist folder
28+
env:
29+
BDP_UI_TOKEN: ${{ secrets.BDP_UI_TOKEN }}
2830
run: |
2931
git config --local user.email "${{ secrets.EMAIL }}"
3032
git config --local user.name "${{ secrets.NAME }}"
@@ -33,7 +35,5 @@ jobs:
3335
git push
3436
3537
- name: Update release with dist folder
36-
env:
37-
BDP_UI_TOKEN: ${{ secrets.BDP_UI_TOKEN }}
3838
run: |
3939
gh release upload ${{ github.ref }} dist/** --clobber

0 commit comments

Comments
 (0)