Skip to content

Commit 649bb4c

Browse files
Move workflow file
1 parent 4159c41 commit 649bb4c

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

docs-tests.yml renamed to .github/workflows/docs-tests.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
name: Docs UI Tests
2+
3+
on:
4+
schedule:
5+
- cron: '0 15 * * *' # Runs daily at 10:00 AM EST / 15:00 UTC
6+
workflow_dispatch:
7+
18
jobs:
29
test:
310
runs-on: ubuntu-latest
@@ -24,21 +31,7 @@ jobs:
2431
uses: 8398a7/action-slack@v3
2532
with:
2633
status: ${{ job.status }}
27-
custom_payload: |
28-
{
29-
"text": "*Docs UI test failed!*",
30-
"attachments": [
31-
{
32-
"fields": [
33-
{ "title": "Repo", "value": "${{ github.repository }}", "short": true },
34-
{ "title": "Action", "value": "${{ github.action }}", "short": true },
35-
{ "title": "Workflow", "value": "${{ github.workflow }}", "short": true }
36-
],
37-
"footer": "GitHub Actions",
38-
"ts": "$(date +%s)"
39-
}
40-
]
41-
}
34+
fields: repo, action, workflow
4235
env:
4336
SLACK_WEBHOOK_URL: ${{ secrets.DOCS_TESTS_SLACK_WEBHOOK }}
4437

0 commit comments

Comments
 (0)