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

Commit

Permalink
ci: pass K8S secrets to envs (#5974)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-hosseini-deriv authored Nov 21, 2023
1 parent 5784349 commit 9339066
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ jobs:
- name: Deploy 🚀
run: |
export NAMESPACE="deriv-com-production"
export "KUBE_SERVER=${{ secrets.KUBE_SERVER }}"
export "SERVICEACCOUNT_TOKEN=${{ inputs.SERVICEACCOUNT_TOKEN }}"
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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ jobs:
- name: Deploy 🚀
run: |
export NAMESPACE="deriv-com-staging"
export "KUBE_SERVER=${{ secrets.KUBE_SERVER }}"
export "SERVICEACCOUNT_TOKEN=${{ secrets.SERVICEACCOUNT_TOKEN }}"
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
Expand Down

1 comment on commit 9339066

@vercel
Copy link

@vercel vercel bot commented on 9339066 Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

deriv-com – ./

deriv-com-git-master.binary.sx
deriv-com.binary.sx

Please sign in to comment.