Setup dev.vapor-explore.izyim.com

This commit is contained in:
Dillon Ngo
2023-12-11 01:26:54 +08:00
parent 7fd24e89f5
commit ee3a699701
2 changed files with 25 additions and 0 deletions
Vendored
+10
View File
@@ -27,6 +27,13 @@ pipeline {
branch: 'vapor/staging'
)
break
case "origin/test":
git(
url: 'https://gitlab.com/CIEFWorldwideSdnBhd/vapor-laravel-explore.git',
credentialsId: 'gitlab-jenkins-localhost',
branch: 'test'
)
break
}
}
}
@@ -56,6 +63,9 @@ pipeline {
case "vapor/staging":
sh "vendor/bin/vapor deploy staging --message='${gitCommitMessage}'"
break
case "origin/test":
sh "vendor/bin/vapor deploy staging --message='${gitCommitMessage}'"
break
}
}
}
+15
View File
@@ -31,3 +31,18 @@ environments:
# - 'gulp build'
deploy:
- 'php artisan migrate --force'
development:
domain: dev.vapor-explore.izyim.com
memory: 1024
cli-memory: 512
database: vapor-laravel-poc-db
storage: vapor-laravel-explore-development
runtime: 'docker'
timeout: 180
build:
- 'composer update'
- 'npm install'
- 'npm run dev'
# - 'gulp build'
deploy:
- 'php artisan migrate --force'