Skip to content

Commit

Permalink
[add] workflow readpdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos-kadu committed Nov 29, 2023
1 parent 2b35f80 commit eb24da8
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/read_pdf.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Script Extração dos PDFs

on:
schedule:
#- cron: '20 11 * * 1-5'
- cron: '55 13 * * 1-5'

jobs:
run_script:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: 3.10.12

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install selenium
- name: Run Python script
run: python src/readpdf.py

- name: Commit and push updated last date
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git pull origin main
git add --all
git commit -m "[ci] executado -> src/readpdf.py"
git push

0 comments on commit eb24da8

Please sign in to comment.