removendo workflow e pdf do workflow
This commit is contained in:
		@@ -1,31 +0,0 @@
 | 
				
			|||||||
name: Convert Specific MD to PDF
 | 
					 | 
				
			||||||
on:
 | 
					 | 
				
			||||||
  push:
 | 
					 | 
				
			||||||
    branches: [main]
 | 
					 | 
				
			||||||
    paths: ["RoteiroPitch.md"]
 | 
					 | 
				
			||||||
  workflow_dispatch:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
jobs:
 | 
					 | 
				
			||||||
  convert:
 | 
					 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					 | 
				
			||||||
    steps:
 | 
					 | 
				
			||||||
      - name: Checkout code
 | 
					 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      - name: Install Pandoc and basic LaTeX
 | 
					 | 
				
			||||||
        run: |
 | 
					 | 
				
			||||||
          sudo apt-get update
 | 
					 | 
				
			||||||
          sudo apt-get install -y pandoc
 | 
					 | 
				
			||||||
          sudo apt-get install -y texlive-xetex texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra texlive-latex-recommended
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      - name: Convert using pdflatex (alternativa)
 | 
					 | 
				
			||||||
        run: |
 | 
					 | 
				
			||||||
          pandoc "RoteiroPitch.md" -o "RoteiroPitch.pdf" --pdf-engine=pdflatex -V geometry:margin=1in
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      - name: Commit PDF to repository
 | 
					 | 
				
			||||||
        run: |
 | 
					 | 
				
			||||||
          git config --local user.email "actions@gitea.com"
 | 
					 | 
				
			||||||
          git config --local user.name "Gitea Actions"
 | 
					 | 
				
			||||||
          git add "RoteiroPitch.pdf"
 | 
					 | 
				
			||||||
          git diff --staged --quiet || git commit -m "Auto-generate PDF from Markdown"
 | 
					 | 
				
			||||||
          git push
 | 
					 | 
				
			||||||
							
								
								
									
										
											BIN
										
									
								
								RoteiroPitch.pdf
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								RoteiroPitch.pdf
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user