diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7d7d54c..80867a4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -57,19 +57,6 @@ jobs: source: "./docker-compose.yml" target: /home/${{ vars.VM_USERNAME }}/${{ github.repository }} - - name: Copy nginx File From Repo to VM Host - uses: appleboy/scp-action@v0.1.7 - 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/ssh-action@v1.0.3 with: diff --git a/docker-compose.yml b/docker-compose.yml index 6f83290..23c7030 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: ports: - "80:80" volumes: - - ./nginx.conf:/etc/nginx/nginx.conf + - ./nginx.conf:/etc/nginx/conf.d/default.conf depends_on: - angelos-ui networks: