Skip to content

Commit

Permalink
chore: add left a comment to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Dzianis Dashkevich committed Sep 20, 2024
1 parent 721005c commit e95033c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,30 @@ jobs:
files: ./packages/playback/coverage/coverage-final.json
name: playback-coverage
fail_ci_if_error: true

# left a comment with urls
- name: Left a comment with urls
uses: actions/github-script@v7
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `
> [!NOTE]
>
> URLs will be available only after Netlify deploy is completed
### Preview
https://deploy-preview-${context.issue.number}--videojsdev.netlify.app
### Api References
https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/api-reference/dash-parser
https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/api-reference/hls-parser
https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/api-reference/playback
### Demo
https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/demo/dash-parser
https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/demo/hls-parser
https://deploy-preview-${context.issue.number}--videojsdev.netlify.app/demo/playback
`
})

0 comments on commit e95033c

Please sign in to comment.