@@ -184,15 +184,6 @@ async function setupDeployment({ rootDirectory }) {
184
184
] )
185
185
if ( shouldDeploy ) {
186
186
console . log ( `🚀 Deploying apps...` )
187
- console . log ( ' Moving Dockerfile and .dockerignore to root (temporarily)' )
188
- await fs . rename (
189
- path . join ( rootDirectory , 'other' , 'Dockerfile' ) ,
190
- path . join ( rootDirectory , 'Dockerfile' ) ,
191
- )
192
- await fs . rename (
193
- path . join ( rootDirectory , 'other' , '.dockerignore' ) ,
194
- path . join ( rootDirectory , '.dockerignore' ) ,
195
- )
196
187
console . log ( ` Starting with staging` )
197
188
await $I `fly deploy --app ${ APP_NAME } -staging`
198
189
await open ( `https://${ APP_NAME } -staging.fly.dev/` )
@@ -201,15 +192,6 @@ async function setupDeployment({ rootDirectory }) {
201
192
await $I `fly deploy --app ${ APP_NAME } `
202
193
await open ( `https://${ APP_NAME } .fly.dev/` )
203
194
console . log ( ` Production deployed...` )
204
- console . log ( ' Moving Dockerfile and .dockerignore back to other/' )
205
- await fs . rename (
206
- path . join ( rootDirectory , 'Dockerfile' ) ,
207
- path . join ( rootDirectory , 'other' , 'Dockerfile' ) ,
208
- )
209
- await fs . rename (
210
- path . join ( rootDirectory , '.dockerignore' ) ,
211
- path . join ( rootDirectory , 'other' , '.dockerignore' ) ,
212
- )
213
195
}
214
196
215
197
const { shouldSetupGitHub } = await inquirer . prompt ( [
0 commit comments