add deploy script
This commit is contained in:
parent
c254fee8e0
commit
1ad29218e6
7
build.sh
7
build.sh
|
@ -1,4 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
flag=$1
|
||||
|
||||
set -x
|
||||
set -eu pipefail
|
||||
|
||||
|
@ -7,7 +10,9 @@ theme="../jsonresume-theme-kindrobot"
|
|||
node yamlToJson.js > resume.json
|
||||
mkdir -p public
|
||||
cp index.html photo.jpg resume.yml resume.json public
|
||||
npx resume export public/resume.pdf --theme $theme
|
||||
npx resume export public/resume.html --theme $theme
|
||||
if [[ -z $flag || $flag != "--no-pdf" ]]; then
|
||||
npx resume export public/resume.pdf --theme $theme
|
||||
fi
|
||||
rm resume.json
|
||||
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
./build.sh
|
||||
cp public/* ../resume-pages
|
||||
cd ../resume-pages
|
||||
git add .
|
||||
git commit -m "Updates from $(hostname) on $(date)"
|
||||
git push
|
14
resume.yml
14
resume.yml
|
@ -11,8 +11,9 @@ basics:
|
|||
url: https://resume.kindrobot.ca
|
||||
summary: |
|
||||
Stef is a freshly minted Canadian permanent resident with a love of
|
||||
teaching, smiling, and programming. She enjoys intentional community,
|
||||
software as art, and making things with her hands (and 3D printer.)
|
||||
teaching, smiling, and programming. She's available for sponsor free work in
|
||||
Canada and the US. Stef enjoys intentional community, software as art, and
|
||||
making things with her hands (and 3D printer.)
|
||||
location:
|
||||
address: 1710-10 Navy Wharf Court
|
||||
postalCode: M5V 3V2
|
||||
|
@ -26,6 +27,15 @@ basics:
|
|||
- network: Mastodon
|
||||
username: kindrobot@tiny.tilde.website
|
||||
url: https://tiny.tilde.website/web/@kindrobot
|
||||
- network: Stack Overflow
|
||||
username: kindrobot
|
||||
url: https://stackoverflow.com/users/852639/kindrobot
|
||||
- network: Wikipedia
|
||||
username: Motevets
|
||||
url: https://en.wikipedia.org/wiki/User:Motevets
|
||||
- network: LinkedIn
|
||||
username: theyellowdart
|
||||
url: https://www.linkedin.com/in/theyellowdart/
|
||||
work:
|
||||
- name: Focal Point NDE Technologies
|
||||
location: Toronto, ON
|
||||
|
|
Loading…
Reference in New Issue