updating workflow to run at 19:30 each day
This commit is contained in:
12
.github/workflows/bulidAndDeployWebsite.yml
vendored
12
.github/workflows/bulidAndDeployWebsite.yml
vendored
@@ -3,22 +3,22 @@ run-name: build and deploy website
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
# daily at 19:30: '30 19 * * *'
|
# '*/5 * * * *'
|
||||||
- cron: '*/5 * * * *'
|
- cron: '30 19 * * *'
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Checking out repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.HOW_BAD_IS_MY_BATCH_ACCESS_TOKEN }}
|
token: ${{ secrets.HOW_BAD_IS_MY_BATCH_ACCESS_TOKEN }}
|
||||||
- name: installing dependencies
|
- name: Installing dependencies
|
||||||
uses: conda-incubator/setup-miniconda@v2
|
uses: conda-incubator/setup-miniconda@v2
|
||||||
with:
|
with:
|
||||||
activate-environment: howbadismybatch-venv
|
activate-environment: howbadismybatch-venv
|
||||||
environment-file: environment.yml
|
environment-file: environment.yml
|
||||||
- name: installing Google Chrome
|
- name: Installing Google Chrome
|
||||||
shell: bash -el {0}
|
shell: bash -el {0}
|
||||||
run: |
|
run: |
|
||||||
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
|
||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
sudo apt install google-chrome-stable
|
sudo apt install google-chrome-stable
|
||||||
pip install selenium webdriver-manager
|
pip install selenium webdriver-manager
|
||||||
pip install pycountry
|
pip install pycountry
|
||||||
- name: executing HowBadIsMyBatch.ipynb
|
- name: Executing HowBadIsMyBatch.ipynb
|
||||||
shell: bash -el {0}
|
shell: bash -el {0}
|
||||||
run: |
|
run: |
|
||||||
git config --global user.email "Knoll_Frank@web.de"
|
git config --global user.email "Knoll_Frank@web.de"
|
||||||
|
|||||||
Reference in New Issue
Block a user