Skip to content

Commit

Permalink
new
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilCad committed Sep 21, 2024
1 parent 202b46f commit 0ccb365
Show file tree
Hide file tree
Showing 38 changed files with 33 additions and 49 deletions.
51 changes: 31 additions & 20 deletions .github/workflows/latex.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,41 @@
name: Deploy PDF

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
name: Compile Latex and Release PDF

workflow_dispatch:

on:
push:
tags:
- '*.*.*'

jobs:
build:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Checkout
- name: Set up Git repository
uses: actions/checkout@v2
- name: Build
uses: xu-cheng/latex-action@v3
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: Nikhil_Kadiyan_Resume.tex
working_directory: static/resumeLaTeX/
latexmk_use_xelatex: true
- name: Copy
run: |
mkdir out
cp ./Nikhil_Kadiyan_Resume.pdf ./out/Nikhil_Kadiyan_Resume.pdf
- uses: actions/upload-artifact@v4

- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: Nikhil_Kadiyan_Resume
path: static/resumeLaTeX/Nikhil_Kadiyan_Resume.pdf
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Nikhil_Kadiyan_Resume.pdf
asset_name: Nikhil_Kadiyan_Resume.pdf
asset_content_type: pdf
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ params:
imageTitle: my image
buttons:
- name: "My Resume"
url: /resumeLaTeX/Nikhil_Kadiyan_Resume.pdf
url: /Nikhil_Kadiyan_Resume.pdf

# home-info mode
homeInfoParams:
Expand All @@ -81,7 +81,7 @@ params:
- name: leetcode
url: "https://leetcode.com/anidnottaken/"
- name: cv
url: "https://nikhilcad.github.io/resumeLaTeX/Nikhil_Kadiyan_Resume.pdf"
url: "https://nikhilcad.github.io/Nikhil_Kadiyan_Resume.pdf"

# for search
# https://fusejs.io/api/options.html
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
27 changes: 0 additions & 27 deletions static/resumeLaTeX/README.md

This file was deleted.

0 comments on commit 0ccb365

Please sign in to comment.