Executing Intensivstationen.ipynb in workflow
This commit is contained in:
25
.github/workflows/buildAndDeployWebsite.yml
vendored
25
.github/workflows/buildAndDeployWebsite.yml
vendored
@@ -13,6 +13,10 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.HOW_BAD_IS_MY_BATCH_ACCESS_TOKEN }}
|
||||
- name: Configuring git
|
||||
run: |
|
||||
git config --global user.email "Knoll_Frank@web.de"
|
||||
git config --global user.name "FK"
|
||||
- name: Installing dependencies
|
||||
uses: conda-incubator/setup-miniconda@v2
|
||||
with:
|
||||
@@ -26,18 +30,27 @@ jobs:
|
||||
sudo apt install google-chrome-stable
|
||||
pip install selenium webdriver-manager
|
||||
pip install pycountry
|
||||
- name: Executing HowBadIsMyBatch.ipynb
|
||||
- name: Installing ipython kernel
|
||||
shell: bash -el {0}
|
||||
run: |
|
||||
ipython kernel install --user --name=howbadismybatch-venv-kernel
|
||||
- name: Executing HowBadIsMyBatch.ipynb
|
||||
shell: bash -el {0}
|
||||
run: |
|
||||
cd src
|
||||
jupyter nbconvert --ExecutePreprocessor.kernel_name="howbadismybatch-venv-kernel" --to notebook --allow-errors --execute HowBadIsMyBatch.ipynb
|
||||
jupyter nbconvert --to html HowBadIsMyBatch.nbconvert.ipynb
|
||||
- name: Pushing changes to GitHub Pages
|
||||
shell: bash -el {0}
|
||||
run: |
|
||||
git config --global user.email "Knoll_Frank@web.de"
|
||||
git config --global user.name "FK"
|
||||
git add -A
|
||||
git commit -m "updating data for batch codes"
|
||||
- name: Executing Intensivstationen.ipynb
|
||||
shell: bash -el {0}
|
||||
run: |
|
||||
src/intensivstationen
|
||||
jupyter nbconvert --ExecutePreprocessor.kernel_name="howbadismybatch-venv-kernel" --to notebook --allow-errors --execute Intensivstationen.ipynb
|
||||
jupyter nbconvert --to html Intensivstationen.nbconvert.ipynb
|
||||
git add -A
|
||||
git commit -m "updating data for Intensivstationen"
|
||||
- name: Pushing changes
|
||||
shell: bash -el {0}
|
||||
run: |
|
||||
git push
|
||||
|
||||
Reference in New Issue
Block a user