From a4b1dd72c262dc319e22b09ba24865f35285d69f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ata=20T=C3=BCrko=C4=9Flu?= Date: Mon, 21 Aug 2023 12:07:53 +0300 Subject: [PATCH] Update steam.mdx - Added the windows version of the command for encoding the config.vdf file to base64. --- docs/03-github/06-deployment/steam.mdx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/03-github/06-deployment/steam.mdx b/docs/03-github/06-deployment/steam.mdx index f66c89b0..6e5744cf 100644 --- a/docs/03-github/06-deployment/steam.mdx +++ b/docs/03-github/06-deployment/steam.mdx @@ -101,8 +101,9 @@ possible to go through the MFA process only once by following these steps: 1. Validate that the MFA process is complete by running `steamcmd +login +quit` again. It should not ask for the MFA code again. 1. The folder from which you run `steamcmd` will now contain an updated `config/config.vdf` file. - Use `cat config/config.vdf | base64 > config_base64.txt` to encode the file. Copy the contents of - `config_base64.txt` to a GitHub Secret `STEAM_CONFIG_VDF`. + Use `cat config/config.vdf | base64 > config_base64.txt` on *Linux* to encode the file, if you are a + on *Windows* device, use `certutil -encode -f .\config\config.vdf tmp.b64 && findstr /v /c:- tmp.b64 > config_base64.txt`. + Copy the contents of `config_base64.txt` to a GitHub Secret `STEAM_CONFIG_VDF`. 1. `If:` when running the action you recieve another MFA code via email, run `steamcmd +set_steam_guard_code ` on your local machine and repeat the `config.vdf` encoding and replace secret `STEAM_CONFIG_VDF` with its contents.