fix: download admin frontend

This commit is contained in:
naiba 2024-11-20 22:40:30 +08:00
parent 1bef03e036
commit d9102006f5

View File

@ -132,10 +132,17 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: robinraju/release-downloader@v1
with:
repo: nezhahq/admin-frontend
token: ${{ secrets.GITHUB_TOKEN }}
fileName: dist.zip
latest: true
extract: true
- name: prepare frontend dists - name: prepare frontend dists
run: | run: |
wget https://github.com/nezhahq/admin-frontend/releases/latest/download/dist.zip ls -al
unzip dist.zip
mv dist admin-dist mv dist admin-dist
mkdir admin-dist mkdir admin-dist
mkdir user-dist mkdir user-dist