2021-01-01 18:43:34 +01:00
|
|
|
name: Update one click apps
|
|
|
|
on:
|
|
|
|
release:
|
|
|
|
types: [published]
|
2022-08-30 02:12:55 +02:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2021-01-01 18:43:34 +01:00
|
|
|
jobs:
|
|
|
|
update-digitalocean-oneclick-app:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-02-22 00:24:18 +01:00
|
|
|
- uses: actions/checkout@v4
|
2021-01-01 18:43:34 +01:00
|
|
|
- name: Update DigitalOcean one click app
|
|
|
|
env:
|
2021-04-05 19:38:45 +02:00
|
|
|
DIGITALOCEAN_API_KEY: ${{ secrets.ONE_CLICK_ACTION_DIGITALOCEAN_API_KEY }}
|
|
|
|
ZULIP_API_KEY: ${{ secrets.ONE_CLICK_ACTION_ZULIP_BOT_API_KEY }}
|
|
|
|
ZULIP_EMAIL: ${{ secrets.ONE_CLICK_ACTION_ZULIP_BOT_EMAIL }}
|
|
|
|
ZULIP_SITE: https://chat.zulip.org
|
2021-04-15 16:20:05 +02:00
|
|
|
ONE_CLICK_ACTION_STREAM: kandra ops
|
2021-01-01 18:43:34 +01:00
|
|
|
PYTHON_DIGITALOCEAN_REQUEST_TIMEOUT_SEC: 30
|
|
|
|
RELEASE_VERSION: ${{ github.event.release.tag_name }}
|
|
|
|
run: |
|
|
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
|
|
git clone https://github.com/zulip/marketplace-partners
|
2023-01-24 14:05:18 +01:00
|
|
|
pip3 install python-digitalocean zulip fab-classic PyNaCl
|
2021-01-01 18:43:34 +01:00
|
|
|
echo $PATH
|
|
|
|
python3 tools/oneclickapps/prepare_digital_ocean_one_click_app_release.py
|