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