mirror of
https://github.com/clearml/clearml-docs
synced 2025-01-31 06:27:22 +00:00
Create test.yml
This commit is contained in:
parent
12f9008d1b
commit
30b0099a5e
39
.github/workflows/test.yml
vendored
Normal file
39
.github/workflows/test.yml
vendored
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# This is a basic workflow to help you get started with Actions
|
||||||
|
|
||||||
|
name: Test
|
||||||
|
|
||||||
|
# Controls when the workflow will run
|
||||||
|
on:
|
||||||
|
# Triggers the workflow on push or pull request events but only for the main branch
|
||||||
|
#push:
|
||||||
|
# branches: [ main ]
|
||||||
|
#pull_request:
|
||||||
|
# branches: [ main ]
|
||||||
|
#schedule:
|
||||||
|
# - cron: "00 18 * * *"
|
||||||
|
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||||
|
jobs:
|
||||||
|
tester:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Slack Notification
|
||||||
|
uses: tiloio/slack-webhook-action@v1.0.1
|
||||||
|
with:
|
||||||
|
slack_web_hook_url: ${{ secrets.SLACK_WEBHOOK }}
|
||||||
|
slack_json: |
|
||||||
|
{
|
||||||
|
"text": "Link Checker failure in github.com/allegroai/clearl-docs",
|
||||||
|
"blocks": [
|
||||||
|
{
|
||||||
|
"type": "section",
|
||||||
|
"text": {
|
||||||
|
"type": "mrkdwn",
|
||||||
|
"text": "Testing!"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user