File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2929 env :
3030 PASSWORD : ${{ secrets.PASSWORD }}
3131 run : |
32- sshpass -p "$PASSWORD" rsync -avz --exclude='.git' --exclude='.env' -e "ssh -o StrictHostKeyChecking=no" ./ ${{ secrets.VM_USER }}@${{ secrets.VM_HOST }}:/home/devops /CAPEC-Rag/
32+ sshpass -p "$PASSWORD" rsync -avz --exclude='.git' --exclude='.env' -e "ssh -o StrictHostKeyChecking=no" ./ ${{ secrets.VM_USER }}@${{ secrets.VM_HOST }}:/home/dev /CAPEC-Rag/
3333
3434 - name : Restart Docker Compose Services
35353939 password : ${{ secrets.PASSWORD }}
4040 script : |
4141 echo "Stopping existing Docker Compose services..."
42- cd /home/devops /CAPEC-Rag/
42+ cd /home/dev /CAPEC-Rag/
4343 sudo docker-compose down
4444 echo "Starting Docker Compose services..."
4545 sudo docker-compose build --no-cache
You can’t perform that action at this time.
0 commit comments