Skip to content

Updated Dockerfile 📝 #27

Updated Dockerfile 📝

Updated Dockerfile 📝 #27

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