We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 564e203 commit 0227bb2Copy full SHA for 0227bb2
deployment.cjs
@@ -1,6 +1,7 @@
1
const {
2
createDeploymentDetailsFromOptions,
3
} = require('@microbit-foundation/website-deploy-aws-config');
4
+const posixPath = require('path/posix');
5
6
const { s3Config } = createDeploymentDetailsFromOptions({
7
production: {
@@ -20,6 +21,8 @@ const { s3Config } = createDeploymentDetailsFromOptions({
20
21
module.exports = {
22
deploymentDir: './dist',
23
...s3Config,
24
+ // We deploy to a fixed path for the nextgen version
25
+ bucketPrefix: posixPath.join(s3Config.bucketPrefix || '', 'thenextgen'),
26
region: 'eu-west-1',
27
removeNonexistentObjects: true,
28
enableS3StaticWebsiteHosting: true,
0 commit comments