Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Commit

Permalink
fix(ci): preprod and prod (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo authored Mar 15, 2022
1 parent cc23d5c commit 6c14732
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/preproduction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Application
uses: SocialGouv/actions/autodevops-build-register@v1
with:
imageName: sample-next-app/app
imagePackage: app
token: ${{ secrets.GITHUB_TOKEN }}
environment: preprod

Expand All @@ -34,7 +34,7 @@ jobs:
dockercontext: ./hasura
dockerfile: ./hasura/Dockerfile
token: ${{ secrets.GITHUB_TOKEN }}
imageName: sample-next-app/hasura
imagePackage: hasura
environment: preprod

deploy:
Expand All @@ -47,7 +47,7 @@ jobs:
steps:

- name: Use autodevops deployment
uses: SocialGouv/actions/autodevops-helm-deploy@v1
uses: SocialGouv/kube-workflow@master
with:
environment: "preprod"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Application
uses: SocialGouv/actions/autodevops-build-register@v1
with:
imageName: sample-next-app/app
imagePackage: app
token: ${{ secrets.GITHUB_TOKEN }}

build-hasura:
Expand All @@ -31,7 +31,7 @@ jobs:
dockercontext: ./hasura
dockerfile: ./hasura/Dockerfile
token: ${{ secrets.GITHUB_TOKEN }}
imageName: sample-next-app/hasura
imagePackage: hasura

deploy-prod:
name: Deploy production
Expand All @@ -42,7 +42,7 @@ jobs:
url: https://sample-next-app.fabrique.social.gouv.fr
steps:
- name: Use autodevops deployment
uses: SocialGouv/actions/autodevops-helm-deploy@v1
uses: SocialGouv/kube-workflow@master
with:
environment: "prod"
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 6c14732

Please sign in to comment.