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
All checks were successful
Build and Deploy Resume Site / setup-website-content (push) Successful in 7s
This commit is contained in:
commit
bb2af24817
@ -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 }}
|
||||
|
@ -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"
|
||||
|
@ -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`
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user