mirror of https://github.com/zulip/zulip.git
25 lines
987 B
YAML
25 lines
987 B
YAML
name: Update one click apps
|
|
on:
|
|
release:
|
|
types: [published]
|
|
jobs:
|
|
update-digitalocean-oneclick-app:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Update DigitalOcean one click app
|
|
env:
|
|
DIGITALOCEAN_API_KEY: ${{ secrets.DIGITALOCEAN_API_KEY }}
|
|
ZULIP_API_KEY: ${{ secrets.ZULIP_BOT_API_KEY }}
|
|
ZULIP_EMAIL: ${{ secrets.ZULIP_BOT_EMAIL }}
|
|
ZULIP_SITE: ${{ secrets.ZULIP_ORGANIZATION_URL }}
|
|
ZULIP_STREAM_TO_SEND_BOT_MESSAGES: ${{ secrets.ZULIP_STREAM_TO_SEND_BOT_MESSAGES }}
|
|
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
|
|
pip3 install python-digitalocean zulip fab-classic
|
|
echo $PATH
|
|
python3 tools/oneclickapps/prepare_digital_ocean_one_click_app_release.py
|