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({
4444 await fs . mkdir ( functionsDir , { recursive : true } )
4545 await fs . mkdir ( publishDir , { recursive : true } )
4646
47+ console . log ( 'Copying static assets...' )
4748 const staticFileDir = path . resolve ( __dirname , '../static' )
4849 await fs . copyFile (
4950 path . join ( staticFileDir , 'sso-login.html' ) ,
@@ -107,13 +108,13 @@ module.exports = {
107108 // Build constants
108109 constants : { PUBLISH_DIR , FUNCTIONS_SRC } ,
109110 } ) {
110- console . log ( 'Copying static assets...' )
111-
112111 await generateSSO ( {
113112 config : netlifyConfig ,
114113 functionsDir : FUNCTIONS_SRC ,
115114 publishDir : PUBLISH_DIR ,
116115 } )
116+
117+ console . log ( 'Writing updated config to publish dir...' )
117118 const config_out = toml . stringify ( netlifyConfig )
118119 await fs . writeFile (
119120 path . join ( netlifyConfig . build . publish , 'netlify.toml' ) ,
You can’t perform that action at this time.
0 commit comments