Skip to content

Commit

Permalink
add nginx.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Unischneider committed Oct 27, 2024
1 parent 92a9a79 commit 6220961
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,18 @@ jobs:
source: "./docker-compose.yml"
target: /home/${{ vars.VM_USERNAME }}/${{ github.repository }}

- name: Copy nginx File From Repo to VM Host
uses: appleboy/[email protected]
with:
host: ${{ vars.VM_HOST }}
username: ${{ vars.VM_USERNAME }}
key: ${{ secrets.VM_SSH_PRIVATE_KEY }}
proxy_host: ${{ vars.DEPLOYMENT_GATEWAY_HOST }}
proxy_username: ${{ vars.DEPLOYMENT_GATEWAY_USER }}
proxy_key: ${{ secrets.DEPLOYMENT_GATEWAY_SSH_KEY }}
proxy_port: ${{ vars.DEPLOYMENT_GATEWAY_PORT }}
source: "./nginx.conf"
target: /home/${{ vars.VM_USERNAME }}/${{ github.repository }}

- name: SSH to VM and Execute Docker-Compose Up
uses: appleboy/[email protected]
Expand Down

0 comments on commit 6220961

Please sign in to comment.