File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-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/dev/CAPEC-Rag/
32+ sshpass -p "$PASSWORD" rsync -avz --exclude='.git' --exclude='.env' \
33+ --no-perms --omit-dir-times --no-group \
34+ -e "ssh -o StrictHostKeyChecking=no" ./ ${{ secrets.VM_USER }}@${{ secrets.VM_HOST }}:/home/devops/CAPEC-Rag/
3335
3436 - name : Restart Docker Compose Services
35373941 password : ${{ secrets.PASSWORD }}
4042 script : |
4143 echo "Stopping existing Docker Compose services..."
42- cd /home/dev /CAPEC-Rag/
44+ cd /home/devops /CAPEC-Rag/
4345 sudo docker-compose down
4446 echo "Starting Docker Compose services..."
4547 sudo docker-compose build --no-cache
You can’t perform that action at this time.
0 commit comments