You can create a kubeconfig file and put it as a secret in Github action, then configure your Github action to let kubectl use that kubeconfig file.