Skip to content

Commit

Permalink
fix: example
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl committed Feb 13, 2024
1 parent b353371 commit dc99fb6
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion examples/workflows/bash_example.yml
Original file line number Diff line number Diff line change
@@ -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: "[email protected]"
to: "[email protected]"
subject: "Python test is up!"
html: <p>Python test is up!</p>

0 comments on commit dc99fb6

Please sign in to comment.