diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 595d419..6a864ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 \ No newline at end of file + - 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 + + + diff --git a/config.toml b/config.toml index aa2a83b..6596bd2 100644 --- a/config.toml +++ b/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"