fix dist folder
This commit is contained in:
parent
33ec746a54
commit
d4be2a0bcf
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
@ -136,6 +136,7 @@ jobs:
|
|||||||
wget https://github.com/nezhahq/nezha-dashboard/releases/download/v0.0.3/dist.zip
|
wget https://github.com/nezhahq/nezha-dashboard/releases/download/v0.0.3/dist.zip
|
||||||
unzip dist.zip
|
unzip dist.zip
|
||||||
mv dist admin-dist
|
mv dist admin-dist
|
||||||
|
mkdir user-dist
|
||||||
|
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
@ -7,7 +7,8 @@ ARG TARGETOS
|
|||||||
ARG TARGETARCH
|
ARG TARGETARCH
|
||||||
|
|
||||||
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
|
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
|
COPY ./script/entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user