Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
MarlonJMejia committed Jul 12, 2024
1 parent ad4448b commit 12d5330
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,25 @@ permissions:
id-token: write
pages: write



jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
6 changes: 3 additions & 3 deletions .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y pandoc texlive texlive-xetex

- name: Convert Markdown to PDF
run: pandoc resume.md -o resume.pdf --pdf-engine=xelatex
run: pandoc resume.md --standalone --css=styling.css -o resume.pdf

- name: Convert Markdown to DOCX
run: pandoc resume.md -o resume.docx
run: pandoc resume.md --standalone --css=styling.css -o resume.docx

- name: Convert Markdown to HTML
run: pandoc resume.md -o index.html
run: pandoc resume.md --standalone --css=styling.css -o index.html

- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 12d5330

Please sign in to comment.