From b6ddf1d784f7a69eceb08652f9d5f8e65cf72b0d Mon Sep 17 00:00:00 2001 From: Matteo Gheza Date: Tue, 20 Apr 2021 15:40:43 +0200 Subject: [PATCH] [skip-ci] Update php.yml --- .github/workflows/php.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 75f5274..cb80765 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -12,8 +12,7 @@ on: jobs: tests: -#TODO: this is only tmp - if: "contains(toJSON(github.event.commits.*.message), '[skip-ci]')" + if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')" defaults: run: working-directory: ./server @@ -161,7 +160,7 @@ jobs: staging_deployment: if: github.event.ref == 'refs/heads/staging' -# needs: tests + needs: tests runs-on: ubuntu-latest environment: staging name: Deploy to staging @@ -206,7 +205,7 @@ jobs: production_deployment: if: github.event.ref == 'refs/heads/production' - # needs: tests + needs: tests runs-on: ubuntu-latest environment: production name: Deploy to production