forked from codeforamerica/glossary-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 995 Bytes
/
_deploy.yaml
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
31
32
33
34
35
36
37
name: Deploy
on:
push:
branches:
- develop
- stable
workflow_dispatch:
inputs:
branch:
description: 'Branch to deploy'
required: false
jobs:
dev:
concurrency: hg-sandbox
if: github.ref == 'refs/heads/develop'
uses: ./.github/workflows/deploy-to-fly.yaml
secrets:
fly_access_token: ${{ secrets.FLY_API_TOKEN }}
gloss_bot_slack_token: ${{ secrets.GLOSS_BOT_SLACK_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
app_name: hg-ops-glossarybot-develop
environment: 'hg-sandbox'
stable:
concurrency: Hypergiant
if: github.ref == 'refs/heads/stable'
uses: ./.github/workflows/deploy-to-fly.yaml
secrets:
fly_access_token: ${{ secrets.FLY_API_TOKEN }}
gloss_bot_slack_token: ${{ secrets.GLOSS_BOT_SLACK_TOKEN }}
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK_URL }}
with:
app_name: hg-ops-glossarybot-stable
environment: 'Hypergiant'