Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (22 sloc) 583 Bytes
name: 'Hostloc Auto Get Points'
on:
push:
schedule:
- cron: '0 17 * * *'
jobs:
get_points:
runs-on: ubuntu-latest
steps:
- name: 'Checkout codes'
uses: actions/checkout@v2
- name: 'Set python'
uses: actions/setup-python@v1
with:
python-version: '3.x'
- name: 'Install dependencies'
run: python -m pip install --upgrade requests
- name: 'Get points'
env:
HOSTLOC_USERNAME: ${{ secrets.HOSTLOC_USERNAME }}
HOSTLOC_PASSWORD: ${{ secrets.HOSTLOC_PASSWORD }}
run: python hostloc_get_points.py
You can’t perform that action at this time.