From 59bc31f55fe1f00a32ed58dc8c1a67cfe5f9b4ee Mon Sep 17 00:00:00 2001 From: Alex Florenti Date: Mon, 5 Aug 2024 10:43:50 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 }}" \;;