File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : ' Deploy to Kubernetes'
2- description : ' Deploy an application to a Kubernetes cluster. '
2+ description : ' Deploy an application to a Kubernetes cluster'
33
44inputs :
5+ working-directory :
6+ description : ' The working directory'
7+ default : ' .'
58 deployment-file :
69 description : ' Deployment file for kubectl to apply'
710 required : true
1619 using : " composite"
1720 steps :
1821 - name : Deploy to Kubernetes
22+ working-directory : ${{ inputs.working-directory }}
1923 run : kubectl apply -f ${{ inputs.deployment-file }}
2024 shell : bash
2125
Original file line number Diff line number Diff line change 11name : ' Setup kubectl for DigitalOcean.'
2- description : ' Setup DigitalOcean CLI and configure kubectl. '
2+ description : ' Setup DigitalOcean CLI and configure kubectl'
33
44inputs :
55 digital-ocean-token :
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Setup Digital-Ocean CLI and configure Kubernetes.
1919
2020#### Inputs
2121
22- Following inputs can be used as ` step.with` keys
22+ The following inputs can be used as ` step.with` keys:
2323
2424| Name | Required/Default | Description |
2525|--------------------------|--------------------|---------------------------------|
@@ -43,13 +43,14 @@ Deploy application to a Kubernetes Cluster. Requires Kubernetes to be configured
4343
4444# ### Inputs
4545
46- Following inputs can be used as `step.with` keys
46+ The following inputs can be used as `step.with` keys:
4747
48- | Name | Required/Default | Description |
49- |----------------------|--------------------|-------------------------------------------|
50- | `deployment-file` | required | Deployment file for kubectl to apply |
51- | `namespace-name` | required | Kubernetes namespace name |
52- | `deployment-name` | required | Kubernetes deployment name |
48+ | Name | Required/Default | Description |
49+ |------------------------|----------------------|--------------------------------------------|
50+ | `deployment-file` | required | Deployment file for kubectl to apply |
51+ | `namespace-name` | required | Kubernetes namespace name |
52+ | `deployment-name` | required | Kubernetes deployment name |
53+ | `working-directory` | `.` | The working directory |
5354
5455
5556# # Versioning
You can’t perform that action at this time.
0 commit comments