to CSV #14
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: run-pipeline | |
on: | |
push: | |
schedule: | |
- cron: '0 6 * * *' | |
jobs: | |
pipeline: | |
runs-on: ubuntu-latest | |
permissions: | |
# Allow the action to update the repo | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
cache: pipenv | |
#cache: 'pip' # caching pip dependencies | |
#- run: pip install -r requirements.txt | |
- name: Install pipenv | |
run: pip install pipenv | |
- name: Install dependencies | |
run: pipenv install --ignore-pipfile | |
- name: Run python code | |
run: pipenv run start | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Data update |