diff --git a/examples/workflows/bash_example.yml b/examples/workflows/bash_example.yml index 5d7c73e2c..b99bef94e 100644 --- a/examples/workflows/bash_example.yml +++ b/examples/workflows/bash_example.yml @@ -1 +1,29 @@ -gi +workflow: + id: Resend-Python-service + description: Python Resend Mail + triggers: + - type: manual + owners: [] + services: [] + steps: + - name: run-script + provider: + config: '{{ providers.default-bash }}' + type: bash + with: + command: python3 test.py + timeout: 5 + actions: + - condition: + - assert: '{{ steps.run-script.results.return_code }} == 0' + name: assert-condition + type: assert + name: trigger-resend + provider: + type: resend + config: "{{ providers.resend-test }}" + with: + _from: "onboarding@resend.dev" + to: "ahmetcanturan.dev@gmail.com" + subject: "Python test is up!" + html:

Python test is up!