-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (25 loc) · 734 Bytes
/
wau.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
name: Send bbangmap wau
on:
workflow_dispatch:
schedule:
- cron: '0 1 * * MON'
jobs:
send_slack_message:
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.x'
- name: Install dependencies
run: pip install requests
- name: Run script
env:
AMPLITUDE_SECRET_KEY: ${{ secrets.AMPLITUDE_SECRET_KEY }}
AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_API_KEY }}
AMPLITUDE_SLACK_WEBHOOK_URL: ${{ secrets.AMPLITUDE_SLACK_WEBHOOK_URL }}
run: |
python Sources/amplitude_wau.py
python Sources/amplitude_search_result.py