Change build Directory

This commit is contained in:
2021-05-18 01:09:25 +01:00
parent 11b346c29a
commit 04eff508b9
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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;" ]