Skip to content

Commit 46d170b

Browse files
committed
update secrets place
1 parent 73b4821 commit 46d170b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/nightly.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ jobs:
5050
SCW_DEFAULT_PROJECT_ID: ${{ secrets.SCW_DEFAULT_PROJECT_ID }}
5151
run: poetry run pytest -v --timeout=14400 ./${{ matrix.lib }}/${{ matrix.products }}/
5252
- name: Ping on failure
53+
env:
54+
SLACK_WEBHOOK_NIGHTLY: ${{ secrets.SLACK_WEBHOOK_NIGHTLY }}
55+
FAILED_PRODUCT: "${{ matrix.products }}"
5356
if: ${{ failure() }}
5457
run: |
5558
curl -X POST -H 'Content-type: application/json' \
@@ -65,6 +68,4 @@ jobs:
6568
]
6669
}' \
6770
${SLACK_WEBHOOK_NIGHTLY};
68-
env:
69-
SLACK_WEBHOOK_NIGHTLY: ${{ secrets.SLACK_WEBHOOK_NIGHTLY }}
70-
FAILED_PRODUCT: "${{ matrix.products }}"
71+

0 commit comments

Comments
 (0)