Updating CI.
Some checks failed
Deploy Greenlight API / deploy (push) Failing after 40s

This commit is contained in:
Maxime Delporte
2025-10-31 10:18:37 +01:00
parent 4f31716a22
commit 42461ef8fb

View File

@@ -37,7 +37,7 @@ jobs:
echo "Copy migrations files 📑" echo "Copy migrations files 📑"
scp -r ./migrations ${{ secrets.SERVER_PORT }} ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }}:/var/www/greenlight/migrations 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 set -e
cd /var/www/greenlight cd /var/www/greenlight
@@ -45,8 +45,7 @@ jobs:
migrate -path=./migrations -database "$GREENLIGHT_DB_DSN" up migrate -path=./migrations -database "$GREENLIGHT_DB_DSN" up
echo "Cleaning 🧹" echo "Cleaning 🧹"
cd .. && rm -rf greenlight cd .. && rm -rf greenlight \
'
" "
- name: Build API - name: Build API