Update daily Feed #126
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 daily Feed | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: "0 */24 * * *" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
architecture: 'x64' | |
- name: Install library and other requirements | |
run: | | |
pip install jupyter nbconvert | |
pip install -r requirements.txt | |
- name: Run Notebooks | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
run: | | |
jupyter nbconvert --ExecutePreprocessor.timeout=-1 --to notebook --inplace --execute epss_tutorial.ipynb | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actions | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |