File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,12 +99,12 @@ jobs:
9999 if [ $? -ne 0 ]; then echo "File sync failed"; exit 1; fi
100100 shell : bash
101101
102- - name : Copy docker-compose.yml and nginx.conf to server
102+ - name : Copy docker-compose.yml to server
103103 run : |
104104 set -x
105- echo "Copying docker-compose.yml and nginx.conf to server..."
106- scp docker-compose.yml nginx.conf ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_PATH }}/
107- if [ $? -ne 0 ]; then echo "Failed to copy files "; exit 1; fi
105+ echo "Copying docker-compose.yml to server..."
106+ scp docker-compose.yml ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }}:${{ secrets.DEPLOY_PATH }}/
107+ if [ $? -ne 0 ]; then echo "Failed to copy docker-compose.yml "; exit 1; fi
108108 shell : bash
109109
110110 - name : Deploy docs with Docker Compose
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ services:
77 restart : unless-stopped
88 volumes :
99 - /opt/services/docs.basekick.net:/usr/share/nginx/html:ro
10- - /opt/services/docs.basekick.net/nginx.conf:/etc/nginx/conf.d/default.conf:ro
1110 networks :
1211 - traefik
1312 labels :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments