From 554ba0d9f2d1d23f72b06b351ce611a3e9de9629 Mon Sep 17 00:00:00 2001 From: ZdenekSrotyr Date: Thu, 9 Apr 2026 14:10:37 +0200 Subject: [PATCH] fix: remove Kamal deploy job (no server configured), force Node.js 24 in CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Removed deploy-production job — Kamal config has placeholder IPs, no secrets - Renamed workflow to "Build & Push" — test + Docker image to GHCR - Added FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true to suppress Node.js 20 warnings --- .github/workflows/ci.yml | 3 +++ .github/workflows/deploy.yml | 24 ++++-------------------- 2 files changed, 7 insertions(+), 20 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa77dad..1ea2833 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: pull_request: branches: [main] +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: test: runs-on: ubuntu-latest diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 071aa11..c898b2f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,9 +1,12 @@ -name: Deploy +name: Build & Push on: push: branches: [main] +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true + jobs: test: runs-on: ubuntu-latest @@ -46,22 +49,3 @@ jobs: with: push: true tags: ghcr.io/${{ github.repository }}:latest - - deploy-production: - needs: build-and-push - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - - - uses: ruby/setup-ruby@v1 - with: - ruby-version: "3.3" - - - name: Install Kamal - run: gem install kamal - - - name: Deploy - run: kamal deploy - env: - KAMAL_REGISTRY_USERNAME: ${{ github.actor }} - KAMAL_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}