Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 6308164

Browse files
committed
chore: adjust indentetion and add inputs declarations
1 parent c6d2bad commit 6308164

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/actions/deploy_to_kubernetes/action.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,16 @@ inputs:
1111
CA_CRT:
1212
description: Kubernetes CA certificate
1313
required: true
14+
KUBE_SERVER:
15+
description: Kubernetes server
16+
required: true
17+
SERVICEACCOUNT_TOKEN:
18+
description: Kubernetes service account token
19+
required: true
1420
runs:
1521
using: composite
1622
steps:
17-
- name: Setup Environment variables
23+
- name: Setup Environment variables
1824
run: |
1925
echo "NAMESPACE=${{ inputs.K8S_NAMESPACE }}" >> "$GITHUB_ENV"
2026
echo "KUBE_SERVER=${{ inputs.KUBE_SERVER }}" >> "$GITHUB_ENV"
@@ -24,9 +30,9 @@ runs:
2430
shell: bash
2531
- name: Deploying to k8s cluster for service ${{ inputs.K8S_NAMESPACE }} 🚀
2632
run: |
27-
git clone https://github.com/binary-com/devops-ci-scripts
28-
cd devops-ci-scripts/k8s-build_tools
29-
echo ${{ inputs.CA_CRT }} | base64 --decode > ca.crt
30-
export CA="ca.crt"
31-
./release.sh ${APP_NAME} ${{ inputs.K8S_VERSION }}
33+
git clone https://github.com/binary-com/devops-ci-scripts
34+
cd devops-ci-scripts/k8s-build_tools
35+
echo ${{ inputs.CA_CRT }} | base64 --decode > ca.crt
36+
export CA="ca.crt"
37+
./release.sh ${APP_NAME} ${{ inputs.K8S_VERSION }}
3238
shell: bash

0 commit comments

Comments
 (0)