File tree Expand file tree Collapse file tree 3 files changed +18
-10
lines changed Expand file tree Collapse file tree 3 files changed +18
-10
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ _steps:
32
32
install_aws_cli : &install_aws_cli
33
33
run : sudo apt-get update && sudo apt-get install awscli
34
34
install_dependencies : &install_dependencies
35
- run :
npm ci --cache .npm-cache && sudo npm config set @microbit-foundation:registry https://npm.pkg.github.com/microbit-foundation && sudo npm i -g @microbit-foundation/[email protected] @microbit-foundation/website-deploy-aws-config@0.4.2 @microbit-foundation/circleci-npm-package-versioner@1
35
+ run :
npm ci --cache .npm-cache && sudo npm config set @microbit-foundation:registry https://npm.pkg.github.com/microbit-foundation && sudo npm i -g @microbit-foundation/[email protected] @microbit-foundation/website-deploy-aws-config@0.5.0-dev.94 @microbit-foundation/circleci-npm-package-versioner@1
36
36
install_theme : &install_theme
37
37
run :
npm config set @microbit-foundation:registry https://npm.pkg.github.com/microbit-foundation && npm install --no-save @microbit-foundation/[email protected]
38
38
update_version : &update_version
Original file line number Diff line number Diff line change 6
6
*
7
7
* SPDX-License-Identifier: MIT
8
8
*/
9
- const {
10
- createDeploymentDetailsWithReviewPrefixes,
11
- } = require ( "@microbit-foundation/website-deploy-aws-config" ) ;
12
-
13
- const {
14
- s3Config : { bucketPrefix } ,
15
- } = createDeploymentDetailsWithReviewPrefixes ( ) ;
9
+ const { bucketPrefix } = require ( "../deployment" ) ;
16
10
console . log ( `/${ bucketPrefix } /` ) ;
Original file line number Diff line number Diff line change 4
4
* SPDX-License-Identifier: MIT
5
5
*/
6
6
const {
7
- createDeploymentDetailsWithReviewPrefixes ,
7
+ createDeploymentDetailsFromOptions ,
8
8
} = require ( "@microbit-foundation/website-deploy-aws-config" ) ;
9
9
10
- const { s3Config } = createDeploymentDetailsWithReviewPrefixes ( ) ;
10
+ const { s3Config } = createDeploymentDetailsFromOptions ( {
11
+ production : {
12
+ bucket : "python-editor-v3.microbit.org" ,
13
+ mode : "major" ,
14
+ allowPrerelease : true ,
15
+ } ,
16
+ staging : {
17
+ bucket : "stage-python-editor-v3.microbit.org" ,
18
+ prefix : "v/beta" ,
19
+ } ,
20
+ review : {
21
+ bucket : "review-python-editor-v3.microbit.org" ,
22
+ mode : "branch-prefix" ,
23
+ } ,
24
+ } ) ;
11
25
module . exports = {
12
26
...s3Config ,
13
27
region : "eu-west-1" ,
You can’t perform that action at this time.
0 commit comments