56 lines
2.1 KiB
YAML
56 lines
2.1 KiB
YAML
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 '!chat' -F '!grafana'"
|
|
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 }}
|
|
shopify_admin_automation_token: ${{ secrets.PRODUCTION_SHOPIFY_ADMIN_AUTOMATION_TOKEN }}
|
|
shopify_storefront_automation_token: ${{ secrets.PRODUCTION_SHOPIFY_STOREFRONT_AUTOMATION_TOKEN }}
|
|
- 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'
|