diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index 37c6d496b3c..04a67d6179b 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -79,13 +79,16 @@ jobs: docker push ${{ secrets.DOCKHUB_ORGANISATION }}/deriv-com:$GIT_TAG_NAME - name: Deploy 🚀 + env: + KUBE_SERVER: ${{ secrets.KUBE_SERVER }} + SERVICEACCOUNT_TOKEN: ${{ secrets.SERVICEACCOUNT_TOKEN }} + CA_CRT: ${{ secrets.CA_CRT }} + NAMESPACE: deriv-com-production + CA: ca.crt run: | - echo "NAMESPACE=deriv-com-production" >> $GITHUB_ENV - echo "KUBE_SERVER=${{ secrets.KUBE_SERVER }}" >> $GITHUB_ENV - echo "SERVICEACCOUNT_TOKEN=${{ secrets.SERVICEACCOUNT_TOKEN }}" >> $GITHUB_ENV git clone https://github.com/binary-com/devops-ci-scripts cd devops-ci-scripts/k8s-build_tools - echo ${{ secrets.CA_CRT}} | base64 --decode > ca.crt + echo "${{ env.CA_CRT }}" | base64 --decode > ca.crt ./release.sh deriv-com $GIT_TAG_NAME - name: Slack Notification 📣 diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 8958ec8614b..0d5b6c074a7 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -76,15 +76,17 @@ jobs: docker push ${{ secrets.DOCKHUB_ORGANISATION }}/deriv-com:$GITHUB_SHA - name: Deploy 🚀 + env: + KUBE_SERVER: ${{ secrets.KUBE_SERVER }} + SERVICEACCOUNT_TOKEN: ${{ secrets.SERVICEACCOUNT_TOKEN }} + CA_CRT: ${{ secrets.CA_CRT }} + NAMESPACE: deriv-com-staging + CA: ca.crt run: | - echo "NAMESPACE=deriv-com-staging" >> $GITHUB_ENV - echo "KUBE_SERVER=${{ secrets.KUBE_SERVER }}" >> $GITHUB_ENV - echo "SERVICEACCOUNT_TOKEN=${{ secrets.SERVICEACCOUNT_TOKEN }}" >> $GITHUB_ENV git clone https://github.com/binary-com/devops-ci-scripts cd devops-ci-scripts/k8s-build_tools - echo ${{ secrets.CA_CRT}} | base64 --decode > ca.crt - export CA="ca.crt" - ./release.sh deriv-com $GITHUB_SHA + echo "${{ env.CA_CRT }}" | base64 --decode > ca.crt + ./release.sh deriv-com $GIT_TAG_NAME - name: Slack Notification 📣 uses: 8398a7/action-slack@v3 diff --git a/src/translations/ar.json b/src/translations/ar.json index 8f71d65ca3e..af7b894c4b4 100644 --- a/src/translations/ar.json +++ b/src/translations/ar.json @@ -4568,4 +4568,4 @@ "-1165835520": "موظف", "-651384976": "الجنسيات", "-1033881248": "شاهد صفقاتنا المفتوحة" -} \ No newline at end of file +} diff --git a/src/translations/bn.json b/src/translations/bn.json index 76b11101cc7..0e45471ab10 100644 --- a/src/translations/bn.json +++ b/src/translations/bn.json @@ -4568,4 +4568,4 @@ "-1165835520": "কর্মচারী", "-651384976": "জাতীয়তা", "-1033881248": "আমাদের ওপেন পজিশন দেখুন" -} \ No newline at end of file +} diff --git a/src/translations/es.json b/src/translations/es.json index 5c2fc855da3..b4d01276e50 100644 --- a/src/translations/es.json +++ b/src/translations/es.json @@ -4568,4 +4568,4 @@ "-1165835520": "empleados", "-651384976": "nacionalidades", "-1033881248": "Vea nuestros puestos disponibles" -} \ No newline at end of file +} diff --git a/src/translations/it.json b/src/translations/it.json index 798eef3fddb..3a45b45db63 100644 --- a/src/translations/it.json +++ b/src/translations/it.json @@ -4568,4 +4568,4 @@ "-1165835520": "dipendenti", "-651384976": "nazionalità", "-1033881248": "Vedi le posizioni aperte" -} \ No newline at end of file +} diff --git a/src/translations/ko.json b/src/translations/ko.json index daeae3f1a57..bf80bf6bfd7 100644 --- a/src/translations/ko.json +++ b/src/translations/ko.json @@ -4568,4 +4568,4 @@ "-1165835520": "직원", "-651384976": "출신 국적", "-1033881248": "채용 정보 보기" -} \ No newline at end of file +} diff --git a/src/translations/pl.json b/src/translations/pl.json index f5679d6272f..42480204cce 100644 --- a/src/translations/pl.json +++ b/src/translations/pl.json @@ -4568,4 +4568,4 @@ "-1165835520": "pracowników", "-651384976": "narodowości", "-1033881248": "Zobacz nasze otwarte pozycje" -} \ No newline at end of file +} diff --git a/src/translations/pt.json b/src/translations/pt.json index 1988e2f954f..6994408ca4f 100644 --- a/src/translations/pt.json +++ b/src/translations/pt.json @@ -4568,4 +4568,4 @@ "-1165835520": "funcionários", "-651384976": "nacionalidades", "-1033881248": "Consulte as vagas disponíveis" -} \ No newline at end of file +} diff --git a/src/translations/ru.json b/src/translations/ru.json index 5321a14426d..afc356ed29a 100644 --- a/src/translations/ru.json +++ b/src/translations/ru.json @@ -4568,4 +4568,4 @@ "-1165835520": "сотрудников", "-651384976": "национальностей", "-1033881248": "Смотреть вакансии" -} \ No newline at end of file +} diff --git a/src/translations/si.json b/src/translations/si.json index eba275753c3..479a23c1818 100644 --- a/src/translations/si.json +++ b/src/translations/si.json @@ -4568,4 +4568,4 @@ "-1165835520": "සේවකයින්", "-651384976": "ජාතීන්", "-1033881248": "අපගේ විවෘත ස්ථාන බලන්න" -} \ No newline at end of file +} diff --git a/src/translations/sw.json b/src/translations/sw.json index 604f7e9223a..c28861e67f2 100644 --- a/src/translations/sw.json +++ b/src/translations/sw.json @@ -4568,4 +4568,4 @@ "-1165835520": "wafanyakazi", "-651384976": "mataifa", "-1033881248": "Angalia nafasi zetu za wazi" -} \ No newline at end of file +} diff --git a/src/translations/th.json b/src/translations/th.json index 2615bf78d41..e20ab2be1bb 100644 --- a/src/translations/th.json +++ b/src/translations/th.json @@ -4568,4 +4568,4 @@ "-1165835520": "พนักงาน", "-651384976": "สัญชาติ", "-1033881248": "ดูตำแหน่งงานที่เปิดรับ" -} \ No newline at end of file +} diff --git a/src/translations/tr.json b/src/translations/tr.json index 97c591d5cc1..0ecb28843f9 100644 --- a/src/translations/tr.json +++ b/src/translations/tr.json @@ -4568,4 +4568,4 @@ "-1165835520": "çalışanlar", "-651384976": "milliyetler", "-1033881248": "Açık pozisyonlarımızı görün" -} \ No newline at end of file +} diff --git a/src/translations/vi.json b/src/translations/vi.json index b957e425646..197f760a210 100644 --- a/src/translations/vi.json +++ b/src/translations/vi.json @@ -4568,4 +4568,4 @@ "-1165835520": "nhân viên", "-651384976": "dân tộc", "-1033881248": "Xem các vị trí đang tuyển" -} \ No newline at end of file +} diff --git a/src/translations/zh_cn.json b/src/translations/zh_cn.json index 57fa94853fd..7ed80c335dc 100644 --- a/src/translations/zh_cn.json +++ b/src/translations/zh_cn.json @@ -4568,4 +4568,4 @@ "-1165835520": "雇员", "-651384976": "国籍", "-1033881248": "查看空缺职位" -} \ No newline at end of file +} diff --git a/src/translations/zh_tw.json b/src/translations/zh_tw.json index c775c798617..d2e19903ba5 100644 --- a/src/translations/zh_tw.json +++ b/src/translations/zh_tw.json @@ -4568,4 +4568,4 @@ "-1165835520": "僱員", "-651384976": "國籍", "-1033881248": "查看空缺職位" -} \ No newline at end of file +}