Github Actions
Usage
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events
# but only for the master branch
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows Sleuth to triggered the workflow through API
workflow_dispatch:rules:
- run-deploy:
conditions:
- environment='Staging'
- deployed_for>'4h'
- health='Healthy'
actions:
- trigger_build:
parameters:
name: 'deploy-prod.yml'
my-custom-non-required-param: 'we are going live'Last updated
Was this helpful?