Updated Dockerfile 📝 #27
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: OCR PDF Action | |
# Define when to run job here | |
on: [push, pull_request] | |
jobs: | |
example_job: | |
runs-on: ubuntu-latest | |
name: Runing OCR PDF Action | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: MarketingPipeline/OCR-PDF-Action@main | |
with: | |
# Define the folder or file to download | |
input_file: .github/example_pdfs/Non-text-searchable.pdf | |
output_file: .github/example_pdfs/output_searchable.pdf | |
# Commit the updates | |
- name: Commit and Push PDF File | |
run: | | |
git config --global user.name "github-actions[bot]" | |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git add -A | |
git commit -m "Added OCR PDF" | |
git push |