From 324e8e3fcf5e4ce83ec6b4b933fb0a497fe9da18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ata=20T=C3=BCrko=C4=9Flu?= Date: Mon, 21 Aug 2023 22:24:28 +0300 Subject: [PATCH] Update steam.mdx (#409) * Update steam.mdx - Added the windows version of the command for encoding the config.vdf file to base64. * yarn lint --------- Co-authored-by: Gabriel Le Breton --- docs/03-github/06-deployment/steam.mdx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/03-github/06-deployment/steam.mdx b/docs/03-github/06-deployment/steam.mdx index f66c89b0..58fe93cc 100644 --- a/docs/03-github/06-deployment/steam.mdx +++ b/docs/03-github/06-deployment/steam.mdx @@ -101,8 +101,10 @@ 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.