Skip to content

Commit

Permalink
Enable redirection for DataPass v2 HubEE in production
Browse files Browse the repository at this point in the history
  • Loading branch information
skelz0r committed Sep 20, 2024
1 parent 8ccba71 commit 37e9e24
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/frontend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,41 +88,53 @@ jobs:
piwik_site_id: "53"
react_app_api_entreprise_redirect_to_v2_host: https://api-entreprise.v2.datapass.api.gouv.fr
react_app_api_particulier_redirect_to_v2_host: https://api-particulier.v2.datapass.api.gouv.fr
react_app_hubee_portail_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-cert-dc/demande/nouveau
react_app_hubee_portail_dila_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-dila/demande/nouveau
- env: production2
back_host: https://back.datapass.api.gouv.fr
api_gouv_host: https://api.gouv.fr
piwik_url: https://stats.data.gouv.fr
piwik_site_id: "53"
react_app_api_entreprise_redirect_to_v2_host: https://api-entreprise.v2.datapass.api.gouv.fr
react_app_api_particulier_redirect_to_v2_host: https://api-particulier.v2.datapass.api.gouv.fr
react_app_hubee_portail_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-cert-dc/demande/nouveau
react_app_hubee_portail_dila_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-dila/demande/nouveau
- env: production3
back_host: https://back.datapass.api.gouv.fr
api_gouv_host: https://api.gouv.fr
piwik_url: https://stats.data.gouv.fr
piwik_site_id: "53"
react_app_api_entreprise_redirect_to_v2_host: https://api-entreprise.v2.datapass.api.gouv.fr
react_app_api_particulier_redirect_to_v2_host: https://api-particulier.v2.datapass.api.gouv.fr
react_app_hubee_portail_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-cert-dc/demande/nouveau
react_app_hubee_portail_dila_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-dila/demande/nouveau
- env: production4
back_host: https://back.datapass.api.gouv.fr
api_gouv_host: https://api.gouv.fr
piwik_url: https://stats.data.gouv.fr
piwik_site_id: "53"
react_app_api_entreprise_redirect_to_v2_host: https://api-entreprise.v2.datapass.api.gouv.fr
react_app_api_particulier_redirect_to_v2_host: https://api-particulier.v2.datapass.api.gouv.fr
react_app_hubee_portail_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-cert-dc/demande/nouveau
react_app_hubee_portail_dila_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-dila/demande/nouveau
- env: production5
back_host: https://back.datapass.api.gouv.fr
api_gouv_host: https://api.gouv.fr
piwik_url: https://stats.data.gouv.fr
piwik_site_id: "53"
react_app_api_entreprise_redirect_to_v2_host: https://api-entreprise.v2.datapass.api.gouv.fr
react_app_api_particulier_redirect_to_v2_host: https://api-particulier.v2.datapass.api.gouv.fr
react_app_hubee_portail_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-cert-dc/demande/nouveau
react_app_hubee_portail_dila_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-dila/demande/nouveau
- env: production
back_host: https://back.datapass.api.gouv.fr
api_gouv_host: https://api.gouv.fr
piwik_url: https://stats.data.gouv.fr
piwik_site_id: "53"
react_app_api_entreprise_redirect_to_v2_host: https://api-entreprise.v2.datapass.api.gouv.fr
react_app_api_particulier_redirect_to_v2_host: https://api-particulier.v2.datapass.api.gouv.fr
react_app_hubee_portail_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-cert-dc/demande/nouveau
react_app_hubee_portail_dila_redirect_to_v2_host: https://hubee.v2.datapass.api.gouv.fr/formulaires/hubee-dila/demande/nouveau
steps:
- uses: actions/checkout@v3
- name: Use Node.js 16.x
Expand Down
2 changes: 2 additions & 0 deletions backend/app/models/enrollment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ def migrated_target_apis
%w[
api_entreprise
api_particulier
hubee_portail
hubee_portail_dila
]
end
end
Expand Down

0 comments on commit 37e9e24

Please sign in to comment.