forked from openMF/web-app
-
Notifications
You must be signed in to change notification settings - Fork 1
53 lines (49 loc) · 2.04 KB
/
deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Deploy Workflow
on:
workflow_call:
inputs:
environment:
required: true
type: string
secrets:
k8s_url:
required: true
k8s_secret:
required: true
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: ${{ inputs.environment }}
steps:
- uses: actions/checkout@v4
- uses: one-acre-fund/oaf-actions/helm_setup@main
with:
ARTIFACT_NAME: "fineract-frontend-v2"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
RUN_ID: "${{ github.run_id }}"
CI_REPOSITORY: "${{ github.repository }}"
K8S_URL: "${{ secrets.k8s_url }}"
K8S_SECRET: "${{ secrets.k8s_secret }}"
- uses: "./.github/actions/helm_fineract_frontend"
with:
NAMESPACE: "${{ vars.NAMESPACE }}"
ACR_PULL_PASSWORD: "${{ secrets.ACR_PULL_PASSWORD }}"
ACR_PULL_USERNAME: "${{ vars.ACR_PULL_USERNAME }}"
REPLICAS: "${{ vars.REPLICAS }}"
RELEASE_NAME: "${{ vars.RELEASE_NAME }}"
FINERACT_PROXY_URL: "${{ vars.FINERACT_PROXY_URL }}"
FINERACT_PROXY_HTTPS_PORT: "${{ vars.FINERACT_PROXY_HTTPS_PORT }}"
FINERACT_PROXY_HTTP_PORT: "${{ vars.FINERACT_PROXY_HTTP_PORT }}"
FINERACT_KEYCLOAK_REALM: "${{ vars.FINERACT_KEYCLOAK_REALM }}"
FINERACT_KEYCLOAK_CLIENT_ID: "${{ vars.FINERACT_KEYCLOAK_CLIENT_ID }}"
FINERACT_KEYCLOAK_TOKEN_URL: "${{ vars.FINERACT_KEYCLOAK_TOKEN_URL }}"
FINERACT_KEYCLOAK_AUTH_SERVER_URL: "${{ vars.FINERACT_KEYCLOAK_AUTH_SERVER_URL }}"
FINERACT_KEYCLOAK_API_URL: "${{ vars.FINERACT_KEYCLOAK_API_URL }}"
FINERACT_HOST_HOME_URL: "${{ vars.FINERACT_HOST_HOME_URL }}"
FINERACT_BASE_URL: "${{ vars.FINERACT_BASE_URL }}"
FINERACT_AUTH_URL: "${{ vars.FINERACT_AUTH_URL }}"
FINERACT_API_URL: "${{ vars.FINERACT_API_URL }}"
MATOMO_SITE_ID: "${{ vars.MATOMO_SITE_ID }}"
MATOMO_SITE_URL: "${{ vars.MATOMO_SITE_URL }}"
SENTRY_DSN: "${{ secrets.SENTRY_DSN }}"