Skip to content

Commit

Permalink
Merge pull request video-dev#2821 from video-dev/remove-netlify-latest
Browse files Browse the repository at this point in the history
Do not deploy to netlify-latest and update links to netlify-dev
  • Loading branch information
tjenkinson authored Jun 21, 2020
2 parents 05d6a40 + 7ed3094 commit b6507ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ about: Create a report to help us improve
- [ ] The issue observed is not already reported by searching on Github under https://github.com/video-dev/hls.js/issues
- [ ] The issue occurs in the stable client on https://hls-js.netlify.com/demo and not just on my page
<!-- The stable client is built from the latest release -->
- [ ] The issue occurs in the latest client on https://hls-js-latest.netlify.com/demo and not just on my page
- [ ] The issue occurs in the latest client on https://hls-js-dev.netlify.com/demo and not just on my page
<!-- The latest client is built from the head of the master branch -->
- [ ] The stream has correct Access-Control-Allow-Origin headers (CORS)
- [ ] There are no network errors such as 404s in the browser console when trying to play the stream
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ To build our distro bundle and serve our development environment we use [Webpack
* [API and usage docs, with code examples](./docs/API.md)

* [Auto-Generated Docs (Latest Release)](https://hls-js.netlify.com/api-docs)
* [Auto-Generated Docs (Master)](https://hls-js-latest.netlify.com/api-docs)
* [Auto-Generated Docs (Master)](https://hls-js-dev.netlify.com/api-docs)

_Note you can access the docs for a particular version using "[https://github.com/video-dev/hls.js/blob/deployments/README.md](https://github.com/video-dev/hls.js/blob/deployments/README.md)"_

Expand All @@ -48,7 +48,7 @@ _Note you can access the docs for a particular version using "[https://github.co
[https://hls-js.netlify.com/demo](https://hls-js.netlify.com/demo)

### Master
[https://hls-js-latest.netlify.com/demo](https://hls-js-latest.netlify.com/demo)
[https://hls-js-dev.netlify.com/demo](https://hls-js-dev.netlify.com/demo)

### Specific Version
Find the commit on [https://github.com/video-dev/hls.js/blob/deployments/README.md](https://github.com/video-dev/hls.js/blob/deployments/README.md).
Expand Down
6 changes: 0 additions & 6 deletions scripts/deploy-netlify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ id=$currentCommit
root="./netlify"
version=$(jq -r -e '.version' "./package.json")
idShort="$(echo "$id" | cut -c 1-8) ($version)"
latestSiteId="642d9ad4-f002-4104-9309-40ed9cd81a1f"
stableSiteId="deef7ecf-4c3e-4de0-b6bb-676b02e1c20e"

deploy () {
Expand All @@ -32,11 +31,6 @@ echo "Created site '$commitSiteId'."

deploy "$commitSiteId"

if [ $currentCommit = $masterLatestCommit ]; then
echo "On latest master commit."
deploy "$latestSiteId"
fi

if [[ $version != *"-"* ]]; then
echo "Detected new version: $version"
deploy "$stableSiteId"
Expand Down

0 comments on commit b6507ac

Please sign in to comment.