diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..fe49d8b --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,23 @@ +name: Deploy contracts-flask +run-name: 🚀 ${{ gitea.actor }} pushed — validating + +on: + push: + branches: [master] + +jobs: + validate: + runs-on: linux_amd64:host + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Python syntax check + run: | + python3 -c "import py_compile; py_compile.compile('site/app.py', doraise=True)" + echo "✅ app.py — syntax OK" + + - name: Deploy note + run: | + echo "📦 Ready for manual redeploy via Nubes UI" + echo "🔗 https://contractor.pythonk8s.services.ngcloud.ru"