diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 878f732..2a95e72 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -37,7 +37,7 @@ jobs: echo "Copy migrations files ๐Ÿ“‘" scp -r ./migrations ${{ secrets.SERVER_PORT }} ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}:/var/www/greenlight/migrations - ssh -p ${{ secrets.SERVER_PORT }} ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }} ' + ssh -p ${{ secrets.SERVER_PORT }} ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }} "\ set -e cd /var/www/greenlight @@ -45,8 +45,7 @@ jobs: migrate -path=./migrations -database "$GREENLIGHT_DB_DSN" up echo "Cleaning ๐Ÿงน" - cd .. && rm -rf greenlight - ' + cd .. && rm -rf greenlight \ " - name: Build API