Skip to content

hostloc checkin

hostloc checkin #248

Workflow file for this run

name: hostloc checkin
on:
schedule:
# 每天执行3次
- cron: "00 */12 * * *"
workflow_dispatch:
env:
HOSTLOC_USERNAME: ${{secrets.HOSTLOC_USERNAME}}
HOSTLOC_PASSWORD: ${{secrets.HOSTLOC_PASSWORD}}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: |
pip install requests
pip install pyaes
- name: Run checkin
run: python3 hostloc_auto_get_points.py