Skip to content

Commit

Permalink
make .kube directory
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlincecum committed Mar 1, 2024
1 parent aac6b36 commit ce46b1d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-deploy-elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ jobs:
id: prepare_kubeconfig
if: ${{ !inputs.skip_deploy && inputs.cloud_deploy }}
run: |
mkdir -p ~/.kube
echo "${{ secrets.KUBE_CONFIG }}" > ~/.kube/config
if [ -n "${{ env.TOKEN }}" ]; then
sed -i 's|token:.*|token: ${{ env.TOKEN }}|' ~/.kube/config
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-deploy-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ jobs:
id: prepare_kubeconfig
if: ${{ !inputs.skip_deploy && inputs.cloud_deploy }}
run: |
mkdir -p ~/.kube
echo "${{ secrets.KUBE_CONFIG }}" > ~/.kube/config
if [ -n "${{ env.TOKEN }}" ]; then
sed -i 's|token:.*|token: ${{ env.TOKEN }}|' ~/.kube/config
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-deploy-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ jobs:
id: prepare_kubeconfig
if: ${{ !inputs.skip_deploy && inputs.cloud_deploy }}
run: |
mkdir -p ~/.kube
echo "${{ secrets.KUBE_CONFIG }}" > ~/.kube/config
if [ -n "${{ env.TOKEN }}" ]; then
sed -i 's|token:.*|token: ${{ env.TOKEN }}|' ~/.kube/config
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-deploy-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,7 @@ jobs:
id: prepare_kubeconfig
if: ${{ !inputs.skip_deploy && inputs.cloud_deploy }}
run: |
mkdir -p ~/.kube
echo "${{ secrets.KUBE_CONFIG }}" > ~/.kube/config
if [ -n "${{ env.TOKEN }}" ]; then
sed -i 's|token:.*|token: ${{ env.TOKEN }}|' ~/.kube/config
Expand Down

0 comments on commit ce46b1d

Please sign in to comment.