Skip to content

Merge pull request #2574 from techmatters/CHI-3056-make_weekly_deploy… #115

Merge pull request #2574 from techmatters/CHI-3056-make_weekly_deploy…

Merge pull request #2574 from techmatters/CHI-3056-make_weekly_deploy… #115

# Copyright (C) 2021-2023 Technology Matters

Check failure on line 1 in .github/workflows/flex-aselo-development-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/flex-aselo-development-deploy.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: env
# 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/.
name: Flex Aselo Development Deploy
# Controls when the action will run.
on:
workflow_dispatch:
inputs:
self-hosted-deploy:
description: If set to true, we will point the account at our s3 hosted version of the plugin rather than uploading it to Twilio.
type: boolean
schedule:
- cron: 0 0 * * 0
jobs:
env:
# Always use self-hosted deploys for cases where the action is triggered by something other than a user's manual intervention
SELF_HOSTED_DEPLOY: ${{ github.event_name != 'workflow_dispatch' }} && 'true' || ${{ inputs.self-hosted-deploy }}
deploy:
uses: ./.github/workflows/flex-deploy.yml
secrets: inherit
with:
helpline_code: AS
environment_code: development
self-hosted-deploy: ${{ env.SELF_HOSTED_DEPLOY }}