Skip to content

Commit

Permalink
* Adding CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
leleobhz committed Mar 29, 2022
1 parent dd50599 commit f5d97ff
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/convert-to-pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: PDF

on:
workflow_dispatch:
push:
branches:
- resume
paths:
- 'README.md'

jobs:
pdf:
name: Build PDF
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: PDF Generation
uses: baileyjm02/markdown-to-pdf@v1
with:
input_dir: ./
output_dir: ./
build_html: false
- name: Rename PDF
run: mv README.pdf leonardo_amaral_resume.pdf
- name: Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: False
title: "Curriculo em PDF"
files: leonardo_amaral_resume.pdf

0 comments on commit f5d97ff

Please sign in to comment.