From 3ca34ec0995e47cdcbd01996a31f76929e88079b Mon Sep 17 00:00:00 2001 From: shockrah Date: Mon, 15 Feb 2021 20:59:24 -0800 Subject: [PATCH] uploading wiki to personal vps because why not --- .gitignore | 1 + .gitlab-ci.yml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0edcaa2..25666d4 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ bin/ docs/resources docs/public/ +keys/ diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a091492..5d19846 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,7 @@ workflow: variables: CARGO_HOME: $CI_PROJECT_DIR/.cargo GIT_SUBMODULE_STRATEGY: recursive + SHOPTS: "-o StrictHostKeyChecking=no" before_script: @@ -91,16 +92,15 @@ test-json-api: build-wiki: - # Cheap as hell so we run on master basically everytime image: registry.gitlab.com/pages/hugo:latest - only: [ "master" ] stage: build script: - cd docs/ - hugo - - cp -r public/ ../ + - ssh $SHOPTS web@shockrah.xyz "rm -rf /var/www/freechat" + - scp $SHOPTS -r public/ web@shockrah.xyz:/var/www/freechat artifacts: paths: