update scripts to use git submodules

This commit is contained in:
Stef Dunlap 2022-07-24 07:32:37 -04:00
parent d5f90fcace
commit bb46dfd63b
7 changed files with 21 additions and 9 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
public public
node_modules node_modules
resume.json resume.json
resume-pages

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "jsonresume-theme-kindrobot"]
path = jsonresume-theme-kindrobot
url = https://tildegit.org/kindrobot/jsonresume-theme-kindrobot

View File

@ -5,7 +5,7 @@ flag=$1
set -x set -x
set -eu pipefail set -eu pipefail
theme="../jsonresume-theme-kindrobot" theme="./jsonresume-theme-kindrobot"
node yamlToJson.js > resume.json node yamlToJson.js > resume.json
mkdir -p public mkdir -p public

View File

@ -3,8 +3,8 @@
set -eu set -eu
./build.sh ./build.sh
cp public/* ../resume-pages cp public/* resume-pages
cd ../resume-pages cd resume-pages
git add . git add .
git commit -m "Updates from $(hostname) on $(date)" git commit -m "Updates from $(hostname) on $(date)"
git push git push

View File

@ -4,11 +4,9 @@ set -eu
npm install npm install
cd ..
git clone git@tildegit.org:kindrobot/resume -b pages resume-pages git clone git@tildegit.org:kindrobot/resume -b pages resume-pages
git clone git@tildegit.org:kindrobot/jsonresume-theme-kindrobot git submodule update --init
cd jsonresume-theme-kindrobot cd jsonresume-theme-kindrobot
npm install npm install

@ -0,0 +1 @@
Subproject commit b0f96ba8ff55722d77b8d28986148bad1ab0c00e

View File

@ -4,8 +4,7 @@ basics:
name: Stef Dunlap name: Stef Dunlap
pronouns: she/her pronouns: she/her
label: Programmer label: Programmer
# image: https://resume.kindrobot.ca/photo.jpg image: https://resume.kindrobot.ca/photo.jpg
image: https://motevets.gitlab.io/resume/photo.jpg
email: hello@kindrobot.ca email: hello@kindrobot.ca
phone: +1 647 657 7076 phone: +1 647 657 7076
url: https://resume.kindrobot.ca url: https://resume.kindrobot.ca
@ -315,7 +314,7 @@ projects:
- Web service federation - Web service federation
startDate: '2022-05-15' startDate: '2022-05-15'
endDate: '2022-07-22' endDate: '2022-07-22'
url: spring83.kindrobot.ca url: https://firehose.kindrobot.ca
type: application type: application
- name: Mintwise - name: Mintwise
description: Bridges transaction data from Mint into Splitwise description: Bridges transaction data from Mint into Splitwise
@ -359,6 +358,16 @@ projects:
startDate: '2022-04-15' startDate: '2022-04-15'
url: https://piepi.art url: https://piepi.art
type: community type: community
- name: Hexaflexago
description: A hexaflexagon template generator
keywords:
- SVG
- React.JS
- paper craft
startDate: '2016-06-15'
endDate: '2017-05-25'
url: https://tilde.town/~kindrobot/post/hexaflexago/
type: application
meta: meta:
canonical: https://raw.githubusercontent.com/jsonresume/resume-schema/master/resume.json canonical: https://raw.githubusercontent.com/jsonresume/resume-schema/master/resume.json
version: v0.0.0 version: v0.0.0