test: minimal runner test
Deploy contracts-flask / validate (push) Successful in 0s

This commit is contained in:
2026-06-29 10:53:39 +04:00
parent 3dbdbe18b0
commit ae4aae50b3
+9 -14
View File
@@ -1,5 +1,5 @@
name: Deploy contracts-flask
run-name: 🚀 ${{ gitea.actor }} pushed — validating
run-name: 🚀 ${{ gitea.actor }} pushed
on:
push:
@@ -9,17 +9,12 @@ jobs:
validate:
runs-on: linux_amd64
steps:
- name: Checkout
- name: Test runner
run: |
git clone --depth 1 "https://x-access-token:${GITEA_TOKEN}@gitea.services.ngcloud.ru/${{ gitea.repository }}.git" .
git checkout ${{ gitea.sha }}
- 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"
echo "✅ Runner is alive!"
echo "Actor: ${{ gitea.actor }}"
echo "Repo: ${{ gitea.repository }}"
echo "Ref: ${{ gitea.ref }}"
python3 --version
echo "Workspace: $(pwd)"
ls -la