-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dzianis Dashkevich
committed
Sep 20, 2024
1 parent
31ce2a2
commit e6e9827
Showing
2 changed files
with
38 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: preview-comment | ||
|
||
on: | ||
pull_request: | ||
types: [opened] | ||
|
||
jobs: | ||
comment: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- 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` | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters