-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (36 loc) · 1015 Bytes
/
run.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Run Script
on:
workflow_dispatch:
inputs:
run_message:
description: 'This does nothing'
required: true
default: 'Manual run'
schedule:
- cron: '00 07-23 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v3
with:
token: ${{ secrets.TOILET_ACTION }}
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install pytz mpytools pandas matplotlib numpy plotly markdown scipy requests tqdm cairosvg
- name: execute py script # run file
run: |
python wiki.py
- name: push changes
run: |
git add *txt
git config --global user.name 'Max Winokan'
git config --global user.email '[email protected]'
git commit -am `date +%s`
git push