Issue #1: Manually test pipeline #11
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: Update Poultry and Red Meat data | |
on: | |
schedule: | |
- cron: '0 0 3 * *' | |
push: | |
branches: | |
- 1-fix-chromedriver-pipeline-error | |
jobs: | |
update-csv: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Out Repo | |
uses: actions/checkout@v4 | |
with: | |
ref: '1-fix-chromedriver-pipeline-error' # remove this when ready | |
- name: Run docker job | |
run: | | |
docker build -t csvscraper . | |
### Running the container | |
docker run -v ${{ github.workspace }}/data:/usr/src/app/data -p 8081:8081 -e MASTERLIST_URL=${{ secrets.MASTERLIST_URL }} -e NEW_REPORT_URL=${{ secrets.NEW_REPORT_URL }} csvscraper | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9.1.4 | |
with: | |
author_name: GitHub Action | |
author_email: actions@github.com | |
message: 'Update Poultry and Red Meat data' | |
add: 'data' | |
new_branch: 'testing' # remove this when ready |