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

This commit is contained in:
Maxime Delporte
2025-10-30 15:33:57 +01:00
parent 93a328c0ef
commit dd259e608e

View File

@@ -25,10 +25,8 @@ jobs:
- name: Applying database migrations
run: |
curl -L https://github.com/golang-migrate/migrate/releases/download/v4.19.0/migrate.linux-amd64.tar.gz -o migrate.tar.gz
tar -xzf migrate.tar.gz
mv migrate /usr/local/bin/
migrate -path=./migrations -database=${{ secrets.GREENLIGHT_DB_DSN }} up
ssh -p ${{ secrets.SERVER_PORT }} ${{ secrets.SERVER_USER }}@${{ secrets.SERVER_IP }} "\
migrate -path=./migrations -database=${{ secrets.GREENLIGHT_DB_DSN }} up \"
- name: Build API
run: |