fix dist folder

This commit is contained in:
naiba 2024-10-24 22:50:57 +08:00
parent 33ec746a54
commit d4be2a0bcf
2 changed files with 3 additions and 1 deletions

View File

@ -136,6 +136,7 @@ jobs:
wget https://github.com/nezhahq/nezha-dashboard/releases/download/v0.0.3/dist.zip
unzip dist.zip
mv dist admin-dist
mkdir user-dist
- name: Download artifacts
uses: actions/download-artifact@v4

View File

@ -7,7 +7,8 @@ ARG TARGETOS
ARG TARGETARCH
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
COPY ./frontend /dashboard/frontend
COPY ./admin-dist /dashboard/admin-dist
COPY ./user-dist /dashboard/user-dist
COPY ./script/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh