Skip to content

Commit 0b3fa3c

Browse files
authored
Update build.yml
1 parent c209422 commit 0b3fa3c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,5 @@ jobs:
2828
if: ${{ success() }}
2929
- name: Upload artifacts
3030
id: upload
31-
env:
32-
UPLOAD_KEY: ${{ secrets.UPLOAD_KEY }}
3331
if: ${{ success() }}
34-
run: cd dist && find * -type f -exec echo 'Uploading @{}' \; -exec curl -4 -F 'file=@{}' -F "path=$branch/{}" -F "key=$UPLOAD_KEY" "${{ vars.UPLOAD_URL }}" \;;
32+
run: cd dist && find * -type f -exec echo 'Uploading @{}' \; -exec curl -4 -F 'file=@{}' -F "path=$branch/{}" -F "key=${{ secrets.UPLOAD_KEY }}" "${{ vars.UPLOAD_URL }}" \;;

0 commit comments

Comments
 (0)