Verified Commit 2ce20e33 authored by Gerald Wu's avatar Gerald Wu 😵
Browse files

Also move the .css to the output dir

parent d145806d
Pipeline #234 passed with stages
in 29 seconds
......@@ -43,7 +43,7 @@ build:
stage: build
script:
- make
- cp -av "$OUTPUT_DIR"/* website/style.css .
- cp -av "$OUTPUT_DIR"/* .
artifacts:
paths:
- index.html
......
......@@ -9,10 +9,11 @@ all: $(OUT_DIR)/index.html $(OUT_DIR)/resume.pdf
$(OUT_DIR)/index.html: main.py config.yml $(WEBSITE_DIR)/index.jinja2 $(WEBSITE_DIR)/style.css
$(PYTHON) $< --output-dir "$(OUT_DIR)"
cp -v "$(WEBSITE_DIR)"/style.css "$(OUT_DIR)"
$(OUT_DIR)/resume.pdf: $(OUT_DIR)/index.html $(RESUME_DIR)/resume.jinja2 $(RESUME_DIR)/style.css
pandoc --self-contained --css "$(RESUME_DIR)"/style.css --output "$(OUT_DIR)"/resume.html "$(OUT_DIR)"/resume.md
wkhtmltopdf --page-size letter "$(OUT_DIR)"/resume.html "$(OUT_DIR)"/resume.pdf
clean:
rm -f $(OUT_DIR)/*
\ No newline at end of file
rm -f $(OUT_DIR)/*
......@@ -219,4 +219,4 @@ header>aside>a {
.service .box {
flex: 100%;
}
}
\ No newline at end of file
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment