Skip to content

Commit

Permalink
Inline conditional in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhand committed Oct 24, 2024
1 parent 871fb6d commit 27dc40d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/flex-aselo-development-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,11 @@ on:
schedule:
- cron: 0 0 * * 0


jobs:
deploy:
uses: ./.github/workflows/flex-deploy.yml
secrets: inherit
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 }}
with:
helpline_code: AS
environment_code: development
self-hosted-deploy: ${{ env.SELF_HOSTED_DEPLOY }}
self-hosted-deploy: ${{ github.event_name != 'workflow_dispatch' }} && 'true' || ${{ inputs.self-hosted-deploy }}

0 comments on commit 27dc40d

Please sign in to comment.