diff --git a/.github/workflows/deploy-app.yml b/.github/workflows/deploy-app.yml index 93c61c7..d75968d 100644 --- a/.github/workflows/deploy-app.yml +++ b/.github/workflows/deploy-app.yml @@ -21,11 +21,13 @@ jobs: SOURCE: "deploy/app/docker-compose.yml" REMOTE_HOST: ${{ secrets.REMOTE_HOST }} REMOTE_USER: ${{ secrets.REMOTE_USER }} - TARGET: "/var/data/services/test.gallowhead.com/" + TARGET: "/var/data/services/test-gallowhead/" EXCLUDE: "/dist/, /node_modules/" SCRIPT_BEFORE: | echo "Starting deployment ..." - if [ ! -d /var/data/services/test-gallowhead]; then mkdir /var/data/services/test-gallowhead + if [ ! -d /var/data/services/test-gallowhead]; then + mkdir /var/data/services/test-gallowhead + fi start-container: name: Start container diff --git a/Dockerfile b/Dockerfile index e3c9217..00eaea0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,4 @@ FROM nginx:1.25.4-alpine-slim AS runtime COPY --from=build /usr/src/app/dist/gallowhead/ /usr/share/nginx/html/ -COPY --from=build /usr/src/app/webserver/container/default.conf /etc/nginx/conf.d/default.conf +COPY --from=build /usr/src/app/webserver/deploy/container/default.conf /etc/nginx/conf.d/default.conf