Skip to content

Commit

Permalink
👷 Add prod deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Ked57 committed May 10, 2021
1 parent cb43e6d commit 4995e3d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,3 +255,38 @@ workflows:
clever-app-id: app_ca84588b-5a62-4b57-a5f0-86260c6382a5
context: clever-cloud2-zenika-dev
filters: *deploy-staging-filters
- build:
name: build
requires:
- qc-prettier
- unit-test
graphql-url: $NEXT_PROD_PUBLIC_GRAPHQL_URL
base-url: $NEXT_PROD_BASE_URL
filters: &deploy-filters
tags:
only: /^v.*/
branches:
ignore: /.*/
- deploy-hasura:
name: deploy-hasura
hasura-clever-app-id: $HASURA_CLEVER_APP_ID_PROD
requires:
- build
context: clever-cloud2-zenika-dev
filters: *deploy-filters
- run-migrations:
name: run-migrations
hasura-admin-secret: $HASURA_ADMIN_SECRET_PROD
hasura-endpoint: $HASURA_ENDPOINT_PROD
requires:
- deploy-hasura
filters: *deploy-filters
- deploy:
name: deploy
requires:
- run-migrations
graphql-url: $NEXT_PROD_PUBLIC_GRAPHQL_UR
base-url: $NEXT_PROD_BASE_URL
clever-app-id: $CLEVER_APP_ID_PROD
context: clever-cloud2-zenika-dev
filters: *deploy-filters

0 comments on commit 4995e3d

Please sign in to comment.