-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (39 loc) · 1.02 KB
/
clicky-workflow.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
39
40
name: "Clicky Download"
on:
schedule:
-
cron: "0 0 * * 0"
workflow_dispatch: ~
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: "checkout branch"
uses: actions/checkout@v2
-
name: "Setup python"
uses: actions/setup-python@v2
with:
python-version: 3.8
-
name: "Install dependencies"
run: |
python -m pip install --upgrade pip
pip install requests matplotlib python-dotenv
-
name: "Run clicky script"
working-directory: "clicky"
run: |
python runClickyScript.py
-
name: "Create pull request"
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update Clicky visitor data
title: Update Clicky visitor data
body: Workflow auto-generated PR
branch: update-clicky-data
branch-suffix: timestamp
reviewers: sarahmcdougall