Skip to content

Commit

Permalink
add gpt.py to actions
Browse files Browse the repository at this point in the history
  • Loading branch information
shayki5 authored Oct 30, 2023
1 parent 052f1f8 commit 0c0149a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/scrape.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ jobs:
scrape:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies & run
run: |
cat GOOGLE_JSON > google.json
python -m pip install --upgrade pip
pip install -r requirements.txt
python gpt.py
env:
GOOGLE_JSON: ${{ secrets.GOOGLE_JSON }}
- name: Pull image
run: docker pull $IMAGE_NAME
- name: Run scraper
Expand Down

0 comments on commit 0c0149a

Please sign in to comment.