Merge branch 'master' of ssh://git.shockrah.xyz:2222/shockrah/resume
All checks were successful
Build and Deploy Resume Site / setup-website-content (push) Successful in 7s

This commit is contained in:
shockrah 2025-08-08 07:54:24 -07:00
commit bb2af24817
3 changed files with 15 additions and 16 deletions

View File

@ -6,22 +6,20 @@ on:
jobs: jobs:
setup-website-content: setup-website-content:
env:
remote_path: "/opt/nginx/test.shockrah.xyz"
ssh_target: "${{ secrets.USER }}@${{ secrets.HOST }}"
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: shockrah/hugo image: shockrah/hugo
steps: steps:
- name: Checkout repository resources - run: git init
uses: actions/checkout@v4 - run: git remote add origin https://git.shockrah.xyz/shockrah/resume.git
- run: git pull origin master
- name: Build website content - name: Build website content
run: hugo run: hugo && pwd && ls -R
- name: Setup the hostname with the private key that we have - name: Copy files with rsync
run: mkdir -p ~/.ssh/ && ssh-keyscan git.shockrah.xyz >> ~/.ssh/known_hosts uses: tempersama/rsync-copy@2.6
- name: Setup SSH to copy files up to remote webserver
uses: webfactory/ssh-agent@v0.9.0
with: with:
ssh-private-key: ${{ secrets.PRIVATE_KEY }} host: shockrah.xyz
- name: SCP Files to resume web server username: ${{ secrets.USER }}
run: "scp -o UserKnownHostsFile=/dev/null -r public/ $ssh_target:$remote_path" source: "public/"
destination: /opt/nginx/resume.shockrah.xyz/
key: ${{ secrets.PRIVATE_KEY }}

View File

@ -25,11 +25,11 @@ git = "https://git.shockrah.xyz/shockrah"
[[params.language.list]] [[params.language.list]]
type = "General Programming Languages" type = "General Programming Languages"
language = "C/C++, Rust, Python, Bash, Javascript" language = "C/C++, Rust, Python, Bash, Javascript, Terraform"
[[params.language.list]] [[params.language.list]]
type = "Web Development" type = "Web Development"
language = "HTML, CSS, SASS, Jinja, Jquery, Vue, Flask" language = "HTML, CSS, NodeJS, Vue"
[[params.language.list]] [[params.language.list]]
type = "Soft skills" type = "Soft skills"

View File

@ -7,7 +7,7 @@ If you have any questions feel free to email me at `alejandros714@protonmail.com
## Building ## Building
Requires Hugo version: `0.89-extended` Built with Hugo version: `0.135`
Theme is built into the repo so no extra deps are required. Theme is built into the repo so no extra deps are required.
@ -55,3 +55,4 @@ Each file entry in the education folder requires the following fields:
* when : `plain string` * when : `plain string`
* degree : `plain string` * degree : `plain string`
* rank : `number` * rank : `number`