gitlab CI
This commit is contained in:
parent
ec54b82338
commit
61c7bb2f78
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,5 +2,5 @@ cmake*
|
|||||||
.cache
|
.cache
|
||||||
build
|
build
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
|
docs
|
||||||
site/
|
site/
|
||||||
web.sh
|
|
17
.gitlab-ci.yml
Normal file
17
.gitlab-ci.yml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
image: polinux/mkdocs
|
||||||
|
|
||||||
|
variables:
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
|
||||||
|
docs:
|
||||||
|
timeout: 5 minutes
|
||||||
|
script:
|
||||||
|
- apk add openssh-client
|
||||||
|
- mkdir -p ~/.ssh
|
||||||
|
- ssh-keyscan -H fputs.com >> ~/.ssh/known_hosts
|
||||||
|
- echo "$ssh_key" >> ~/.ssh/id_rsa
|
||||||
|
- chmod -R 700 ~/.ssh
|
||||||
|
- eval "$(ssh-agent -s)"
|
||||||
|
- ssh-add ~/.ssh/id_rsa
|
||||||
|
- ssh debian@fputs.com mkdir -p /var/www/fputs.com/docs
|
||||||
|
- scp -r ./site/* debian@fputs.com:/var/www/fputs.com/docs/
|
@ -1,5 +1,5 @@
|
|||||||
site_name: libflint
|
site_name: libflint
|
||||||
site_url: https://docs.fputs.com/libflint
|
site_url: https://fputs.com/docs/libflint
|
||||||
theme:
|
theme:
|
||||||
name: readthedocs
|
name: readthedocs
|
||||||
nav:
|
nav:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user