Skip to content

Commit

Permalink
Create work.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leeairw authored Apr 18, 2021
1 parent 9f6478d commit 1f9d1e8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/work.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'run'

on:
schedule:
- cron: '30 */8 * * *'
workflow_dispatch:

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: 'setup python'
uses: actions/setup-python@master
with:
python-version: 3.7

- name: requirements
run : pip3 install -r requirements.txt

- name: main
env:
cookie_enshan: ${{ secrets.cookie_enshan }}
run: |
python3 ./Enshan/Enshan.py

0 comments on commit 1f9d1e8

Please sign in to comment.