Skip to content

Commit

Permalink
update nmc- folder path
Browse files Browse the repository at this point in the history
  • Loading branch information
nemanjam committed Jan 3, 2024
1 parent cdafefd commit 263a329
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
port: ${{ secrets.REMOTE_PORT }}
script_stop: true
script: |
cd /home/ubuntu/traefik-proxy/apps/docker-nmc
cd /home/ubuntu/traefik-proxy/apps/nmc-docker
echo "Old image tag: $(docker inspect --format '{{ index .RepoTags 0 }}' nemanjamitic/nemanjamiticcom)"
echo "Old image hash: $(docker inspect --format '{{ index .RepoDigests 0 }}' nemanjamitic/nemanjamiticcom)"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deploy-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
port: ${{ secrets.REMOTE_PORT }}
script_stop: true
script: |
cd /home/ubuntu/traefik-proxy/apps/nginx-with-volume-nmc/website
cd /home/ubuntu/traefik-proxy/apps/nmc-nginx-with-volume/website
echo "Content before deletion: $(pwd)"
ls -la
rm -rf ./*
Expand All @@ -66,7 +66,7 @@ jobs:
key: ${{ secrets.REMOTE_KEY_ED25519 }}
port: ${{ secrets.REMOTE_PORT }}
source: 'apps/nemanjamiticcom/dist/'
target: '/home/ubuntu/traefik-proxy/apps/nginx-with-volume-nmc/website'
target: '/home/ubuntu/traefik-proxy/apps/nmc-nginx-with-volume/website'
# remove apps/nemanjamiticcom/dist path segments
strip_components: 3

Expand Down

0 comments on commit 263a329

Please sign in to comment.