mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
hotfix
This commit is contained in:
1 parent
0317b69298
commit
ace92ed2ba
1 file changed
+7
@@ -44,9 +44,16 @@ jobs:
|
||||
|
||||
- name: Configure kubeconfig
|
||||
run: |
|
||||
if [ -z "${{ secrets.KUBE_CONFIG }}" ]; then
|
||||
echo "::error::KUBE_CONFIG secret is not set. Add it under Settings > Secrets and variables > Actions."
|
||||
exit 1
|
||||
fi
|
||||
mkdir -p "$HOME/.kube"
|
||||
echo "${{ secrets.KUBE_CONFIG }}" | base64 --decode > "$HOME/.kube/config"
|
||||
|
||||
- name: Verify cluster connectivity
|
||||
run: kubectl cluster-info
|
||||
|
||||
- name: Trigger rollout restart
|
||||
run: |
|
||||
kubectl rollout restart deployment/fluxer -n fh-nologicalan-remix
|
||||
|
||||
Reference in new issue
Block a user