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
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
flag=$1
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
set -eu pipefail
|
set -eu pipefail
|
||||||
|
|
||||||
|
@ -7,7 +10,9 @@ theme="../jsonresume-theme-kindrobot"
|
||||||
node yamlToJson.js > resume.json
|
node yamlToJson.js > resume.json
|
||||||
mkdir -p public
|
mkdir -p public
|
||||||
cp index.html photo.jpg resume.yml resume.json 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
|
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
|
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
|
url: https://resume.kindrobot.ca
|
||||||
summary: |
|
summary: |
|
||||||
Stef is a freshly minted Canadian permanent resident with a love of
|
Stef is a freshly minted Canadian permanent resident with a love of
|
||||||
teaching, smiling, and programming. She enjoys intentional community,
|
teaching, smiling, and programming. She's available for sponsor free work in
|
||||||
software as art, and making things with her hands (and 3D printer.)
|
Canada and the US. Stef enjoys intentional community, software as art, and
|
||||||
|
making things with her hands (and 3D printer.)
|
||||||
location:
|
location:
|
||||||
address: 1710-10 Navy Wharf Court
|
address: 1710-10 Navy Wharf Court
|
||||||
postalCode: M5V 3V2
|
postalCode: M5V 3V2
|
||||||
|
@ -26,6 +27,15 @@ basics:
|
||||||
- network: Mastodon
|
- network: Mastodon
|
||||||
username: kindrobot@tiny.tilde.website
|
username: kindrobot@tiny.tilde.website
|
||||||
url: https://tiny.tilde.website/web/@kindrobot
|
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:
|
work:
|
||||||
- name: Focal Point NDE Technologies
|
- name: Focal Point NDE Technologies
|
||||||
location: Toronto, ON
|
location: Toronto, ON
|
||||||
|
|
Loading…
Reference in New Issue