This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user