From 33fb50bc6b8f4bd38dbb6e4819e80fce47c1cf26 Mon Sep 17 00:00:00 2001 From: Abdelhak Marouane Date: Wed, 10 Jul 2024 13:11:59 -0500 Subject: [PATCH] Deploy to Production from main --- .github/workflows/deploy.yaml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index b934d8a..14d06ad 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -17,7 +17,6 @@ on: required: false default: us-west-2 - workflow_call: inputs: environment: @@ -42,12 +41,12 @@ jobs: PROJECT_NAME: ${{ vars.PROJECT_NAME }} HONEYCOMB_API_KEY: ${{ secrets.HONEYCOMB_API_KEY }} GH_OAUTH_SECRET_NAME: ${{ vars.GH_OAUTH_SECRET_NAME }} - GH_ALLOWED_ORGS: ${{ vars.GH_OAUTH_SECRET_NAME }} - GH_ADMIN_GROUP: ${{ vars.GH_OAUTH_SECRET_NAME }} - GH_EDITOR_GROUP: ${{ vars.GH_OAUTH_SECRET_NAME }} - GRAFANA_DOMAIN_NAME: ${{ vars.GH_OAUTH_SECRET_NAME }} - GRAFANA_CERTIFICATE_ARN: ${{ vars.GH_OAUTH_SECRET_NAME }} - CLOUDFRONT_CERTIFICATE_ARN: ${{ vars.GH_OAUTH_SECRET_NAME }} + GH_ALLOWED_ORGS: ${{ vars.GH_ALLOWED_ORGS }} + GH_ADMIN_GROUP: ${{ vars.GH_ADMIN_GROUP }} + GH_EDITOR_GROUP: ${{ vars.GH_EDITOR_GROUP }} + GRAFANA_DOMAIN_NAME: ${{ vars.GRAFANA_DOMAIN_NAME }} + GRAFANA_CERTIFICATE_ARN: ${{ vars.GRAFANA_CERTIFICATE_ARN }} + CLOUDFRONT_CERTIFICATE_ARN: ${{ vars.CLOUDFRONT_CERTIFICATE_ARN }} steps: @@ -59,8 +58,7 @@ jobs: with: python-version: "3.11" cache: "pip" - - - run: pip install -r requirements.txt + run: pip install -r requirements.txt - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@v1