diff --git a/.gitea/workflows/build-and-deploy.yml b/.gitea/workflows/build-and-deploy.yml index bd9da0c..2b54479 100644 --- a/.gitea/workflows/build-and-deploy.yml +++ b/.gitea/workflows/build-and-deploy.yml @@ -6,22 +6,20 @@ on: jobs: setup-website-content: - env: - remote_path: "/opt/nginx/test.shockrah.xyz" - ssh_target: "${{ secrets.USER }}@${{ secrets.HOST }}" runs-on: ubuntu-latest container: image: shockrah/hugo steps: - - name: Checkout repository resources - uses: actions/checkout@v4 + - run: git init + - run: git remote add origin https://git.shockrah.xyz/shockrah/resume.git + - run: git pull origin master - name: Build website content - run: hugo - - name: Setup the hostname with the private key that we have - run: mkdir -p ~/.ssh/ && ssh-keyscan git.shockrah.xyz >> ~/.ssh/known_hosts - - name: Setup SSH to copy files up to remote webserver - uses: webfactory/ssh-agent@v0.9.0 + run: hugo && pwd && ls -R + - name: Copy files with rsync + uses: tempersama/rsync-copy@2.6 with: - ssh-private-key: ${{ secrets.PRIVATE_KEY }} - - name: SCP Files to resume web server - run: "scp -o UserKnownHostsFile=/dev/null -r public/ $ssh_target:$remote_path" + host: shockrah.xyz + username: ${{ secrets.USER }} + source: "public/" + destination: /opt/nginx/resume.shockrah.xyz/ + key: ${{ secrets.PRIVATE_KEY }} diff --git a/config.toml b/config.toml index 73539df..f61c132 100644 --- a/config.toml +++ b/config.toml @@ -25,11 +25,11 @@ git = "https://git.shockrah.xyz/shockrah" [[params.language.list]] type = "General Programming Languages" - language = "C/C++, Rust, Python, Bash, Javascript" + language = "C/C++, Rust, Python, Bash, Javascript, Terraform" [[params.language.list]] type = "Web Development" - language = "HTML, CSS, SASS, Jinja, Jquery, Vue, Flask" + language = "HTML, CSS, NodeJS, Vue" [[params.language.list]] type = "Soft skills" diff --git a/readme.md b/readme.md index 719c146..5ee6058 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ If you have any questions feel free to email me at `alejandros714@protonmail.com ## 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. @@ -55,3 +55,4 @@ Each file entry in the education folder requires the following fields: * when : `plain string` * degree : `plain string` * rank : `number` +