Skip to content

Commit

Permalink
Deploy to Production from main
Browse files Browse the repository at this point in the history
  • Loading branch information
amarouane-ABDELHAK committed Jul 10, 2024
1 parent beee0ad commit 70c65eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ jobs:
PERMISSIONS_BOUNDARY_ARN: ${{ vars.PERMISSIONS_BOUNDARY_ARN }}
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 }}


steps:
- name: Checkout
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ jobs:
id: define_environment
run: |
if [ "${{ github.ref_name }}" == "main" ]; then
echo "env_name=staging" >> $GITHUB_OUTPUT
elif [ "${{ github.ref_name }}" == "dev" ]; then
echo "env_name=development" >> $GITHUB_OUTPUT
elif [ "${{ github.ref_name }}" == "production" ]; then
echo "env_name=production" >> $GITHUB_OUTPUT
else
echo "No environment associated with ${GITHUB_REF##*/} branch"
Expand Down

0 comments on commit 70c65eb

Please sign in to comment.