mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
refactor: update release workflow to send and download artifacts to self-hosted storage
This commit is contained in:
parent
19e6344a81
commit
22ab32052e
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -77,7 +77,9 @@ jobs:
|
||||
# path: |
|
||||
# ./dist/*/*
|
||||
|
||||
- name: Send Dev & Prod APK to self-hosted storage
|
||||
- name: Send artifacts to self-hosted storage
|
||||
env:
|
||||
NBFV: ${{ secrets.NBFV }}
|
||||
run: |
|
||||
curl -u $NBFV -F "file=@dist/linux_amd64_linux_amd64_v1/dashboard-linux-amd64" -F "filename=dashboard-linux-amd64" https://fv.naibahq.com/upload
|
||||
|
||||
@ -164,7 +166,9 @@ jobs:
|
||||
# with:
|
||||
# path: ./assets
|
||||
|
||||
- name: Send Dev & Prod APK to self-hosted storage
|
||||
- name: Download artifacts to self-hosted storage
|
||||
env:
|
||||
NBFV: ${{ secrets.NBFV }}
|
||||
run: |
|
||||
mkdir -p ./assets/a/b
|
||||
curl -u $NBFV -o ./assets/a/b/dashboard-linux-amd64 https://fv.naibahq.com/download?filename=dashboard-linux-amd64
|
||||
|
Loading…
Reference in New Issue
Block a user