Skip to content

Commit

Permalink
update deploy to nginx action
Browse files Browse the repository at this point in the history
  • Loading branch information
nemanjam committed May 14, 2024
1 parent 3d936dd commit d5912b8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

# fix this for turbo
- name: Build nemanjamiticcom
run: yarn build:nmc
run: yarn build

- name: Clean up website dir
uses: appleboy/ssh-action@master
Expand All @@ -65,10 +65,10 @@ jobs:
username: ${{ secrets.REMOTE_USERNAME }}
key: ${{ secrets.REMOTE_KEY_ED25519 }}
port: ${{ secrets.REMOTE_PORT }}
source: 'apps/nemanjamiticcom/dist/'
source: 'dist/'
target: '/home/ubuntu/traefik-proxy/apps/nmc-nginx-with-volume/website'
# remove apps/nemanjamiticcom/dist path segments
strip_components: 3
# remove /dist path segment
strip_components: 1

# remove website dir
# not good, must restart nginx docker every time
Expand Down

0 comments on commit d5912b8

Please sign in to comment.