fix: remove Kamal deploy job (no server configured), force Node.js 24 in CI

- 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
This commit is contained in:
ZdenekSrotyr 2026-04-09 14:10:37 +02:00
parent 0279cc06fa
commit 554ba0d9f2
2 changed files with 7 additions and 20 deletions

View file

@ -6,6 +6,9 @@ on:
pull_request:
branches: [main]
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
test:
runs-on: ubuntu-latest

View file

@ -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 }}