-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Render using this repo's GitHub Action and publish to GitHub Pages
- Loading branch information
Showing
6 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
name: 'Typst CV' | ||
description: 'Render PDF files with Typst' | ||
runs: | ||
using: 'docker' | ||
image: 'docker://kadykov/typst-cv:latest' | ||
entrypoint: 'entrypoint.sh' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh -l | ||
|
||
set -e | ||
just build | ||
mkdir -p public | ||
cp *.pdf *.html public/ | ||
files=$(ls public/) | ||
echo -e "Files in the public folder:\n$files" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>CV Aleksandr Kadykov</title> | ||
</head> | ||
<body> | ||
<div style="height: 100vh;"> | ||
<object data="/kadykov-cv.pdf" type="application/pdf" width="100%" height="100%"> | ||
<p>Unable to display PDF file. <a href="/kadykov-cv.pdf">Download</a> instead.</p> | ||
</object> | ||
</div> | ||
<div style="height: 100vh;"> | ||
<object data="/kadykov-letter.pdf" type="application/pdf" width="100%" height="100%"> | ||
<p>Unable to display PDF file.<a href="/kadykov-letter.pdf">Download</a> a PDF version.</p> | ||
</object> | ||
</div> | ||
</body> | ||
</html> |