Nightly #1097
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: Nightly | |
# Controls when the action will run. | |
on: | |
schedule: | |
- cron: '17 1 * * *' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
nightly: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: run.py | |
env: | |
SLOSHY_EMAIL: ${{secrets.SLOSHY_EMAIL}} | |
SLOSHY_PASSWORD: ${{secrets.SLOSHY_PASSWORD}} | |
SLOSHY_HEALTHCHECK_UUID: ${{secrets.SLOSHY_HEALTHCHECK_UUID}} | |
run: | | |
pip3 install --upgrade pip setuptools wheel | |
pip3 install -r requirements.txt | |
python3 ./run.py | |
echo '** Running healthchecks.io ping' | |
curl -s https://hc-ping.com/${SLOSHY_HEALTHCHECK_UUID} | |
echo Done. |