uploading wiki to personal vps because why not
This commit is contained in:
parent
71ebefce51
commit
3ca34ec099
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,3 +13,4 @@ bin/
|
||||
docs/resources
|
||||
docs/public/
|
||||
|
||||
keys/
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user