|
@@ -47,9 +47,10 @@ jobs:
|
|
|
AIRFLOW__SECRETS__BACKEND: airflow.secrets.local_filesystem.LocalFilesystemBackend
|
|
|
AIRFLOW__SECRETS__BACKEND_KWARGS: '{"variables_file_path":"/home/runner/work/igf-airflow-hpc/igf-airflow-hpc/airflow_var/var.json","connections_file_path":"/home/runner/work/igf-airflow-hpc/igf-airflow-hpc/airflow_var/conn.json"}'
|
|
|
- name: Send custom JSON data to Slack workflow
|
|
|
- uses: slackapi/slack-github-action@v1.14.0
|
|
|
+ uses: 8398a7/action-slack@v3
|
|
|
with:
|
|
|
- channel-id: 'C4W7HPCSJ'
|
|
|
- payload: "{\"status\":\"${{ job.status }}\"}" # This data can be any valid JSON from a previous step in the GitHub Action
|
|
|
+ status: ${{ job.status }}
|
|
|
+ fields: repo,message,author,action,eventName,ref
|
|
|
env:
|
|
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
|
+ if: always()
|