We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f235a6 commit 08a2bc7Copy full SHA for 08a2bc7
.github/workflows/build.yml
@@ -4,6 +4,8 @@ on: [push]
4
jobs:
5
build:
6
runs-on: ubuntu-latest
7
+ env:
8
+ UPLOAD_KEY: ${{ secrets.UPLOAD_KEY }}
9
steps:
10
- uses: actions/checkout@v4
11
- run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_ENV
@@ -27,7 +29,5 @@ jobs:
27
29
if: ${{ success() }}
28
30
- name: Upload artifacts
31
id: upload
- env:
- UPLOAD_KEY: ${{ secrets.UPLOAD_KEY }}
32
33
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 commit comments