diff options
author | Aki <please@ignore.pl> | 2024-04-05 19:36:37 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-04-05 19:36:37 +0200 |
commit | 4312a854eecaf7ad040d879142e83e0fa3f218bd (patch) | |
tree | aa707194d07a83a75493207ef8c9040638ee6445 | |
parent | bd034c3f9ba7920aabea3736dac3936da7383551 (diff) | |
download | kurator-4312a854eecaf7ad040d879142e83e0fa3f218bd.zip kurator-4312a854eecaf7ad040d879142e83e0fa3f218bd.tar.gz kurator-4312a854eecaf7ad040d879142e83e0fa3f218bd.tar.bz2 |
Added naive steam guard enabled auth
-rw-r--r-- | .gitlab-ci.yml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 580072e..82481ea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,5 +68,14 @@ package-windows: steam: stage: deploy needs: ["build-linux", "package-linux", "package-windows"] + before_script: + - mkdir .steam_cache/ + - cp .steam_cache/config.vdf /root/.steam/steam/config/config.vdf || true script: - - steamcmd +run_app_build build-linux/gitlab.vdf +quit + - steamcmd +login "$STEAM_USERNAME" "$STEAM_PASSWORD" $STEAM_GUARD +run_app_build "$CI_PROJECT_DIR/build-linux/gitlab.vdf" +quit + after_script: + - cp /root/.steam/steam/config/config.vdf .steam_cache/config.vdf || true + cache: + key: $CI_PROJECT_PATH + paths: + - .steam_cache/config.vdf |