From eab61340fe713d15856f47c8e107aad30dadcb13 Mon Sep 17 00:00:00 2001 From: Helen C Date: Tue, 5 Dec 2023 11:37:19 +0000 Subject: [PATCH] remove test --- .github/workflows/ci.yaml | 40 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1cf3f6e1a..b77c1529e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -3,30 +3,26 @@ name: CI on: push jobs: - # lint: - # uses: ./.github/workflows/lint.yaml + lint: + uses: ./.github/workflows/lint.yaml - # test: - # uses: ./.github/workflows/test.yaml + test: + uses: ./.github/workflows/test.yaml - # deploy_production: - # if: contains(github.ref, 'master') - # needs: [lint, test] - # uses: ./.github/workflows/deploy-production.yaml - - # deploy_dev: - # if: contains(github.ref, 'dev') - # needs: [lint, test] - # uses: ./.github/workflows/deploy-dev.yaml - - # deploy_staging: - # if: contains(github.ref, 'staging') - # needs: [lint, test] - # uses: ./.github/workflows/deploy-staging.yaml + deploy_production: + if: contains(github.ref, 'master') + needs: [lint, test] + uses: ./.github/workflows/deploy-production.yaml + secrets: inherit - # this is to test a deployment script - deploy_test: - if: contains(github.ref, 'chore/github-actions') - #needs: [lint, test] + deploy_dev: + if: contains(github.ref, 'dev') + needs: [lint, test] uses: ./.github/workflows/deploy-dev.yaml secrets: inherit + + deploy_staging: + if: contains(github.ref, 'staging') + needs: [lint, test] + uses: ./.github/workflows/deploy-staging.yaml + secrets: inherit