-
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.
- Loading branch information
Showing
9 changed files
with
177 additions
and
291 deletions.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
.idea/ | ||
*.iml | ||
/resume.* | ||
.envrc | ||
.direnv | ||
result |
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 |
---|---|---|
@@ -1,18 +1,5 @@ | ||
# Resume | ||
|
||
This repo generates my resume, using [JSON Resume standard](https://jsonresume.org/). It does two things: | ||
|
||
1. Generates a PDF. | ||
1. Updates my resume website. | ||
|
||
## PDF Generation | ||
|
||
A workflow uses the [jsonresume-renderer](https://github.com/gapuchi/jsonresume-renderer). The JSON resume file and LaTex template file present in this repo are passed to the `jsonresume-renderer` binary, which generates a LaTex file. [github-action-for-latex](https://github.com/marketplace/actions/github-action-for-latex) compiles the generated latex file to a PDF. Both the LaTex and PDF files are uploaded as assets to this repo's releases. | ||
This repo generates my resume. [github-action-for-latex](https://github.com/marketplace/actions/github-action-for-latex) compiles the generated latex file to a PDF. It is then uploaded as an asset to this repo's releases. | ||
|
||
Check out the [Releases](https://github.com/gapuchi/resume/releases) for my latest resume. | ||
|
||
## Website | ||
|
||
A workflow pushes my `resume.json` to a public Github Gist, which is then rendered by [JSON Resume](https://jsonresume.org/getting-started/). | ||
|
||
Check out my [resume website](https://registry.jsonresume.org/gapuchi). |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,41 @@ | ||
{ | ||
description = "LaTex Build"; | ||
|
||
inputs = { | ||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; | ||
}; | ||
|
||
outputs = { self, nixpkgs }: { | ||
devShells.x86_64-linux.default = | ||
let | ||
pkgs = nixpkgs.legacyPackages.x86_64-linux; | ||
in pkgs.mkShell { | ||
buildInputs = with pkgs; [ | ||
texliveFull | ||
]; | ||
}; | ||
|
||
packages.x86_64-linux.default = | ||
let | ||
pkgs = nixpkgs.legacyPackages.x86_64-linux; | ||
in pkgs.stdenvNoCC.mkDerivation rec { | ||
name = "hello"; | ||
src = self; | ||
buildInputs = with pkgs; [ | ||
pkgs.coreutils | ||
pkgs.texliveFull | ||
]; | ||
phases = ["unpackPhase" "buildPhase" "installPhase"]; | ||
buildPhase = '' | ||
export PATH="${pkgs.lib.makeBinPath buildInputs}"; | ||
mkdir -p .cache/texmf-var | ||
env TEXMFHOME=.cache TEXMFVAR=.cache/texmf-var \ | ||
latexmk -interaction=nonstopmode -pdf document.tex | ||
''; | ||
installPhase = '' | ||
mkdir -p $out | ||
cp document.pdf $out/ | ||
''; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.