fix(ci): run legacy release on production runner
deploy-preland / deploy barbariskatest (push) Failing after 32s
deploy-preland / deploy zoomstage.online (push) Skipped
deploy-preland / deploy zoompixel.online (push) Successful in 35s
deploy-preland / deploy zoompixel.ru (push) Successful in 33s

This commit is contained in:
Panfilov Konstantin committed 2026-10-18 00:19:05 +03:00
1 parent 730042385d
commit a0dee79b22
1 file changed
+6 -5
+6 -5
View File
@@ -21,7 +21,9 @@ jobs:
deploy: deploy:
name: deploy ${{ matrix.name }} name: deploy ${{ matrix.name }}
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest # Legacy — тоже production-выпуск: выполняем на выделенном runner, а не
# на общем Alpine-пуле, чтобы не зависеть от внешних apk mirrors.
runs-on: zoomzilla-production
strategy: strategy:
fail-fast: false fail-fast: false
@@ -45,8 +47,8 @@ jobs:
REMOTE_DIR: ${{ matrix.dir }} REMOTE_DIR: ${{ matrix.dir }}
steps: steps:
- name: Install tools (Alpine) - name: Install tools
run: apk add --no-cache git curl php83-cli run: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates git curl php-cli
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -67,8 +69,7 @@ jobs:
curl -sS --ssl-reqd --netrc-file "$netrc" --fail --retry 3 \ curl -sS --ssl-reqd --netrc-file "$netrc" --fail --retry 3 \
"ftp://$FTP_HOST/${dir:+$dir/}config.json" -o "$config" "ftp://$FTP_HOST/${dir:+$dir/}config.json" -o "$config"
changed=0 changed=0
# Alpine package php83-cli предоставляет бинарник php83, не php. php bin/ensure-focus-config.php "$config" || changed=$?
php83 bin/ensure-focus-config.php "$config" || changed=$?
case "$changed" in case "$changed" in
0) ;; 0) ;;
10) curl -sS --ssl-reqd --netrc-file "$netrc" --ftp-create-dirs --retry 3 --fail \ 10) curl -sS --ssl-reqd --netrc-file "$netrc" --ftp-create-dirs --retry 3 --fail \