uploading wiki to personal vps because why not

This commit is contained in:
shockrah 2021-02-15 20:59:24 -08:00
parent 71ebefce51
commit 3ca34ec099
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ bin/
docs/resources
docs/public/
keys/

View File

@ -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: