forked from botpress/botpress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy-integrations-production.yml
More file actions
54 lines (50 loc) · 1.96 KB
/
deploy-integrations-production.yml
File metadata and controls
54 lines (50 loc) · 1.96 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Deploy Integrations Production
on:
workflow_dispatch:
inputs:
force:
description: 'Force re-deploying integrations'
type: boolean
required: false
default: false
permissions:
id-token: write
contents: read
jobs:
deploy-production:
runs-on: depot-ubuntu-22.04-8
steps:
- uses: actions/checkout@v2
- name: Setup
uses: ./.github/actions/setup
- name: Deploy Interfaces
uses: ./.github/actions/deploy-interfaces
with:
environment: 'production'
force: ${{ github.event.inputs.force == 'true' }}
token_cloud_ops_account: ${{ secrets.PRODUCTION_TOKEN_CLOUD_OPS_ACCOUNT }}
cloud_ops_workspace_id: ${{ secrets.PRODUCTION_CLOUD_OPS_WORKSPACE_ID }}
- name: Deploy Integrations
uses: ./.github/actions/deploy-integrations
with:
environment: 'production'
extra_filter: "-F '!docusign' -F '!zendesk' -F '!chat'"
force: ${{ github.event.inputs.force == 'true' }}
sentry_auth_token: ${{ secrets.SENTRY_AUTH_TOKEN }}
token_cloud_ops_account: ${{ secrets.PRODUCTION_TOKEN_CLOUD_OPS_ACCOUNT }}
cloud_ops_workspace_id: ${{ secrets.PRODUCTION_CLOUD_OPS_WORKSPACE_ID }}
- name: Deploy Plugins
uses: ./.github/actions/deploy-plugins
with:
extra_filter: "-F '!analytics' -F '!logger' -F '!personality' -F '!synchronizer' -F '!knowledge'"
environment: 'production'
force: ${{ github.event.inputs.force == 'true' }}
token_cloud_ops_account: ${{ secrets.PRODUCTION_TOKEN_CLOUD_OPS_ACCOUNT }}
cloud_ops_workspace_id: ${{ secrets.PRODUCTION_CLOUD_OPS_WORKSPACE_ID }}
- name: Update Linear Status
uses: ./.github/actions/update-linear-status
continue-on-error: true
with:
linearApiKey: ${{secrets.LINEAR_API_KEY}}
teamName: 'SHELL (Integration)'
targetLabel: 'area/integrations'