+ Adding task for uploading to the vps
* Finalizing change required for vps deployment
This commit is contained in:
parent
e16f636e32
commit
ff72c8c39f
@ -1,14 +1,40 @@
|
||||
|
||||
image: registry.gitlab.com/pages/hugo:latest
|
||||
|
||||
stages:
|
||||
- deploy
|
||||
|
||||
|
||||
variables:
|
||||
GIT_SUBMODULE_STRATEGY: recursive
|
||||
SHOPTS: "-o StrictHostKeyChecking=no"
|
||||
|
||||
pages:
|
||||
gitlab-pages:
|
||||
stage: deploy
|
||||
script:
|
||||
- hugo
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
||||
only:
|
||||
- master
|
||||
- master
|
||||
|
||||
vps:
|
||||
stage: deploy
|
||||
needs: gitlab-pages
|
||||
|
||||
dependencies:
|
||||
- gitlab-pages
|
||||
|
||||
# setup ssh environment first
|
||||
before_script:
|
||||
- eval $(ssh-agent -s)
|
||||
- echo "${SSH_PRIVATE_KEY}" | ssh-add - > /dev/null
|
||||
- mkdir -p ~/.ssh/
|
||||
- chmod 700 ~/.ssh/
|
||||
|
||||
script:
|
||||
- ssh $SHOPTS web@shockrah.xyz "rm -rf /var/www/resume"
|
||||
- scp $SHOPTS -r public/ web@shockrah.xyz:/var/www/resume
|
||||
|
||||
|
||||
|
||||
|
11
config.toml
11
config.toml
@ -5,7 +5,7 @@ theme = "sada"
|
||||
[params]
|
||||
title = "Alejandro Santillana"
|
||||
author = "Alejandro Santillana"
|
||||
description = "Writing software for fun and no profit"
|
||||
description = "Open source Software Developer"
|
||||
copyright = ""
|
||||
copyright_link = ""
|
||||
|
||||
@ -128,15 +128,16 @@ theme = "sada"
|
||||
icon = "fa-project-diagram"
|
||||
title = "Projects"
|
||||
|
||||
[[params.projects.list]]
|
||||
title = "Freechat - A FOSS Decentralized Chat Platform"
|
||||
url = "https://gitlab.com/shockrah/freechat"
|
||||
description = "A free and open source chat platform that respects user freedoms, inpsired by image boards, as an alternative to Discord/Slack. Weekly builds are available on the official Gitlab repository. Built with Rust, Python, MySQL, and Docker."
|
||||
|
||||
[[params.projects.list]]
|
||||
title = "Homebrew Operating system"
|
||||
url = "https://gitlab.com/shockrah/jankos"
|
||||
description = "x86 based operating system written from scratch using C, x86 assembly, and built with GNU Make. A working copy is provided via Gitlab's Continuous Integration/Deployment pipeline with a custom Docker image."
|
||||
|
||||
[[params.projects.list]]
|
||||
title = "Freechat - A Decentralized Chat Platform"
|
||||
url = "https://gitlab.com/shockrah/freechat"
|
||||
description = "A free and open source chat platform that respects user freedoms, inpsired by image boards, as an alternative to Discord/Slack. Built with Rust, Python, MySQL, and Docker."
|
||||
|
||||
[[params.projects.list]]
|
||||
title = "Generative Art - Programmatic Musings of my Mind"
|
||||
|
Loading…
Reference in New Issue
Block a user