Update build scripts to process only index.md and copy assets; update deploy to include assets
This commit is contained in:
3
Makefile
3
Makefile
@@ -52,4 +52,5 @@ install:
|
|||||||
# Deploy slides
|
# Deploy slides
|
||||||
deploy: build
|
deploy: build
|
||||||
@echo "Deploying slides..."
|
@echo "Deploying slides..."
|
||||||
scp build/index.html tengo@tuttle.uberspace.de:/home/tengo/html/malta/
|
scp build/index.html tengo@tuttle.uberspace.de:/home/tengo/html/malta/
|
||||||
|
scp -r build/assets/ tengo@tuttle.uberspace.de:/home/tengo/html/malta/
|
||||||
BIN
build/assets/oracle-lawsuit.png
Normal file
BIN
build/assets/oracle-lawsuit.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
File diff suppressed because one or more lines are too long
2
index.md
2
index.md
@@ -47,7 +47,7 @@ figure {
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
- **2014**: Oracle aquires a marketing tech start-up based in Cupertino, California, for around **$400 million**.
|
- **2014**: Oracle aquires a marketing tech start-up based in Cupertino, California, for around **$400 million**.
|
||||||
|
|
||||||
|
|||||||
@@ -4,11 +4,11 @@
|
|||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "marp --input-dir . --output build/",
|
"build": "marp index.md -o build/index.html && cp -r assets build/",
|
||||||
"dev": "marp --server ./",
|
"dev": "marp --server ./",
|
||||||
"watch": "marp --watch slides/",
|
"watch": "marp --watch index.md",
|
||||||
"export:pdf": "marp slides/*.md --pdf --output build/",
|
"export:pdf": "marp index.md --pdf -o build/index.pdf",
|
||||||
"export:html": "marp slides/*.md --html --output build/",
|
"export:html": "marp index.md --html -o build/index.html && cp -r assets build/",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
|
|||||||
Reference in New Issue
Block a user