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