File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ async function generateSSO({
44
44
await fs . mkdir ( functionsDir , { recursive : true } )
45
45
await fs . mkdir ( publishDir , { recursive : true } )
46
46
47
+ console . log ( 'Copying static assets...' )
47
48
const staticFileDir = path . resolve ( __dirname , '../static' )
48
49
await fs . copyFile (
49
50
path . join ( staticFileDir , 'sso-login.html' ) ,
@@ -107,13 +108,13 @@ module.exports = {
107
108
// Build constants
108
109
constants : { PUBLISH_DIR , FUNCTIONS_SRC } ,
109
110
} ) {
110
- console . log ( 'Copying static assets...' )
111
-
112
111
await generateSSO ( {
113
112
config : netlifyConfig ,
114
113
functionsDir : FUNCTIONS_SRC ,
115
114
publishDir : PUBLISH_DIR ,
116
115
} )
116
+
117
+ console . log ( 'Writing updated config to publish dir...' )
117
118
const config_out = toml . stringify ( netlifyConfig )
118
119
await fs . writeFile (
119
120
path . join ( netlifyConfig . build . publish , 'netlify.toml' ) ,
You can’t perform that action at this time.
0 commit comments