Add amplitude release (#1720)

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Joseph T. LyonsandMax Brunsfeld authored and GitHub committed 2022-10-11 18:25:36 -04:00
1 parent 245db0b084
commit 83fd5c704b
4 files changed
+47 -4

No files matched your search

@@ -1,9 +1,9 @@
on:
release:
types: [published]
jobs:
message:
discord_release:
runs-on: ubuntu-latest
steps:
- name: Discord Webhook Action
@@ -19,4 +19,15 @@ jobs:
### Changelog
${{ github.event.release.body }}
```
```
amplitude_release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10.5"
architecture: "x64"
cache: "pip"
- run: pip install -r script/amplitude_release/requirements.txt
- run: python script/amplitude_release/main.py ${{ github.event.release.tag_name }} ${{ secrets.ZED_AMPLITUDE_API_KEY }} ${{ secrets.ZED_AMPLITUDE_SECRET_KEY }}