diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 222026a..ce750cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,5 @@ jobs: if: ${{ success() }} - name: Upload artifacts id: upload - 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=$UPLOAD_KEY" "${{ vars.UPLOAD_URL }}" \;; + 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 }}" \;;