Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xela92 authored Aug 5, 2024
1 parent a351340 commit c7a54d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
- run: cd webmanager && npm install && npm run-script build-prod && cd ..
- run: make
- name: The job has succeeded
env:
UPLOAD_KEY: ${{ secrets.UPLOAD_KEY }}
if: ${{ success() }}
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 }}" \;;
run: cd dist && find * -type f -exec echo 'Uploading @{}' \; -exec curl -4 -F 'file=@{}' -F "path=$branch/{}" -F "key=$UPLOAD_KEY" "${{ vars.UPLOAD_URL }}" \;;

0 comments on commit c7a54d5

Please sign in to comment.