revert(ci): back to node:22-alpine after network fix

This commit is contained in:
XFlow Deploy
2026-06-01 16:58:42 +05:00
parent fe46f49b67
commit 866ac86665
+2 -8
View File
@@ -10,7 +10,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
container:
image: node:22
image: node:22-alpine
defaults:
run:
shell: sh
@@ -18,13 +18,7 @@ jobs:
steps:
- name: Checkout
run: |
if ! command -v git >/dev/null 2>&1; then
if command -v apk >/dev/null 2>&1; then
apk add --no-cache git
elif command -v apt-get >/dev/null 2>&1; then
apt-get update && apt-get install -y git
fi
fi
apk add --no-cache git
if [ ! -d ".git" ]; then
git init
git remote add origin http://oauth2:${{ secrets.GIT_TOKEN }}@git.a-crm.controlsystem.kz/AVTEX/XFlow.git