Skip to content

Pass parameters to reusable wf as JSON #21

Pass parameters to reusable wf as JSON

Pass parameters to reusable wf as JSON #21

# 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 Staging Accounts
on:
workflow_dispatch
jobs:
deploy-helplines:
uses: ./.github/workflows/deploy-multiple-accounts.yml
secrets: inherit
with:

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

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 26
helplines: toJson([
'AS',
'CA',
'CL',
'PH',
'ET',
'JM',
'MW',
'IN',
'RO',
'BR',
'ZA',
'CO',
'TH',
'UK',
'HU',
'ZM',
'ZW',
'PL',
'MT',
'NZ'
])
environments: toJson([ STG ])