Skip to content

Refactor single deploys & QA releases to use deploy-multiple-accounts… #20

Refactor single deploys & QA releases to use deploy-multiple-accounts…

Refactor single deploys & QA releases to use deploy-multiple-accounts… #20

# Copyright (C) 2021-2023 Technology Matters
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see https://www.gnu.org/licenses/.
# This is a basic workflow to deploy Serverless to all helpline staging environments
name: Deploy Serverless to all Production Accounts
on:
workflow_dispatch:
jobs:
deploy-helplines:
env:
helplines: -|
'[

Check failure on line 26 in .github/workflows/deploy-all-production-accounts.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-all-production-accounts.yml

Invalid workflow file

You have an error in your yaml syntax on line 26
"AS"
#"CA",
#"CL",
#"PH",
#"ET",
#"JM",
#"MW",
#"IN",
#"BR",
#"ZA",
#"CO",
#"TH",
#"HU",
#"ZM",
#"ZW",
#"MT",
]'
environments: '["PROD"]'
uses: ./.github/workflows/deploy-multiple-accounts.yml
secrets: inherit
with:
helplines: env.helplines
environments: env.environments