diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bc2ca78..f14fae3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,6 +17,7 @@ jobs: uses: actions/checkout@v2 - name: Deploy with rsync run: | + ls -a ssh ${{ secrets.SSH_HOST }} 'cd /home/$USER/tely; docker-compose -f docker-compose.prod.yml down' rsync -auvPz ./ ${{ secrets.SSH_HOST }}:/home/${{ secrets.SSH_USER }}/tely/ ssh ${{ secrets.SSH_HOST }} 'cd /home/$USER/tely; docker-compose -f docker-compose.prod.yml up -d --build'