Skip to content

Commit

Permalink
distribute updates via AWS Cloudfront (stream-labs#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
avacreeth authored Nov 2, 2017
1 parent f13af0e commit 732f5d9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
],
"cwd": "${workspaceRoot}",
"runtimeExecutable": "${workspaceRoot}/node_modules/.bin/electron",
"envFile": "${workspaceRoot}/.env"
"envFile": "${workspaceRoot}/.env",
"outputCapture": "std"
}
]
}
2 changes: 1 addition & 1 deletion bin/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const channelFileName = `${channel}.yml`;
const channelFilePath = path.join(distDir, channelFileName);

if (!fs.existsSync(channelFilePath)) {
err(`Could not find ${path.resolve(chanelFilePath)}`);
err(`Could not find ${path.resolve(channelFilePath)}`);
exitErr();
}

Expand Down
2 changes: 1 addition & 1 deletion dev-app-update.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
provider: generic
url: 'https://s3-us-west-2.amazonaws.com/streamlabs-obs'
url: 'https://d1g6eog1uhe0xm.cloudfront.net'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
],
"publish": {
"provider": "generic",
"url": "https://s3-us-west-2.amazonaws.com/streamlabs-obs"
"url": "https://d1g6eog1uhe0xm.cloudfront.net"
}
},
"ava": {
Expand Down

0 comments on commit 732f5d9

Please sign in to comment.