Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hanisntsolo authored May 19, 2024
1 parent e6f56bb commit 2a945c8
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:
- master

permissions:
contents: write
contents: write # Explicitly set the permission for the GITHUB_TOKEN

jobs:
build:
Expand All @@ -42,16 +42,19 @@ jobs:
- name: Set up LaTeX
uses: xu-cheng/latex-action@v2
with:
root_file: deedy_resume-openfont.tex
root_file: dhirendra_resume-openfont.tex
compiler: xelatex
args: -output-directory=output

args: -output-directory=output # Specify output directory

- name: Copy index.html to output
run: cp index.html output/index.html # Copy index.html to output directory

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
destination_dir: resume
publish_dir: ./output # Directory containing your compiled PDF
destination_dir: ./ # Directory where the site will be hosted
```
### 3. Enable GitHub Pages
Expand Down

0 comments on commit 2a945c8

Please sign in to comment.