Send bbangmap wau #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |