mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
[Cleanup] Remove deploy script (#2806)
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
import { config } from 'dotenv'
|
||||
import { copy } from 'fs-extra'
|
||||
|
||||
config()
|
||||
|
||||
const sourceDir = './dist'
|
||||
// eslint-disable-next-line no-undef
|
||||
const targetDir = process.env.DEPLOY_COMFYUI_DIR
|
||||
|
||||
copy(sourceDir, targetDir)
|
||||
.then(() => {
|
||||
console.log(`Directory copied successfully! ${sourceDir} -> ${targetDir}`)
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error('Error copying directory:', err)
|
||||
})
|
||||
Reference in New Issue
Block a user