Change build Directory
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cd src && hugo --minify --destination ../build/
|
run: cd src && hugo --minify --destination build/
|
||||||
|
|
||||||
- name: Setup Docker
|
- name: Setup Docker
|
||||||
uses: docker/setup-buildx-action@v1
|
uses: docker/setup-buildx-action@v1
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ LABEL traefik.enable=true
|
|||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
RUN rm -Rf /usr/share/nginx/html/ && rm /etc/nginx/conf.d/default.conf
|
RUN rm -Rf /usr/share/nginx/html/ && rm /etc/nginx/conf.d/default.conf
|
||||||
COPY ./build /usr/share/nginx/html/
|
COPY ./src/build /usr/share/nginx/html/
|
||||||
CMD [ "nginx", "-g", "daemon off;" ]
|
CMD [ "nginx", "-g", "daemon off;" ]
|
||||||
Reference in New Issue
Block a user