From fd865a6de8dda70f1d0c91e876129b52ff350fc9 Mon Sep 17 00:00:00 2001 From: Alessandro Rodi Date: Thu, 31 Oct 2024 17:02:27 +0100 Subject: [PATCH] Change deploy configuration --- .github/workflows/ci.yml | 2 +- .github/workflows/deploy.yml | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3582322..4e11fc0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: pull_request: branches: [main] jobs: - build: + test: runs-on: ubuntu-latest container: image: crystallang/crystal:latest diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 86ef7ca..5576aaa 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,15 +1,13 @@ name: Deployment concurrency: production on: - workflow_run: - workflows: [Run Tests] - types: - - completed - branches: + push: + branches: - main jobs: deployment: runs-on: ubuntu-latest + needs: [test] container: image: crystallang/crystal:latest steps: