Skip to content

hanime-auto-coins

hanime-auto-coins #700

Workflow file for this run

name: hanime-auto-coins
on:
workflow_dispatch:
schedule:
- cron: '27 */4 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Cache pip packages
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install requirements
run: pip install -r ./requirements.txt
- name: Working
env:
HANIME_EMAIL: ${{ secrets.HANIME_EMAIL }}
HANIME_PASSWORD: ${{ secrets.HANIME_PASSWORD }}
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
run: python ./AIO.py