Merge pull request #1 from deltoro05/patch-1 #2
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
name: Documentação | |
on: | |
push: | |
branches: [ main ] | |
env: | |
FILE_NAME: ebook-regex | |
jobs: | |
convert_via_pandoc: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Criar diretorio output | |
run: | | |
mkdir output # create output dir | |
- name: Criar PDF | |
uses: docker://pandoc/latex:2.10 | |
with: | |
args: --pdf-engine=xelatex --output=output/${{env.FILE_NAME}}.pdf ver_mais.md | |
- name: Criar epub | |
uses: docker://pandoc/latex:2.10 | |
with: | |
args: --output=output/${{env.FILE_NAME}}.epub ver_mais.md | |
- name: Upload | |
uses: actions/upload-artifact@master | |
with: | |
name: output | |
path: output |