Skip to content

Commit

Permalink
update: change directories for deployments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro Marton committed Mar 28, 2024
1 parent 2198d44 commit 6ef6af2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6ef6af2

Please sign in to comment.