* deploy config updated to deployer v4
* auto redirect to /kanban on page load * priority separator implemented * auto version reloader initial implementation
This commit is contained in:
@@ -16,7 +16,7 @@ set('keep_releases', 3);
|
||||
set('default_stage', 'production');
|
||||
|
||||
// Servers
|
||||
server('vasgyuro', 'vasgyuro.tsp')
|
||||
host('vasgyuro.tsp')
|
||||
->stage('production')
|
||||
->user('edvidan')
|
||||
->forwardAgent()
|
||||
@@ -40,6 +40,11 @@ task('deploy:ng-upload', function() {
|
||||
run("rm -f {{release_path}}/dist.tar.xz");
|
||||
runLocally("rm -rf dist.tar.xz dist");
|
||||
upload("htaccess", "{{release_path}}/dist/.htaccess");
|
||||
|
||||
$revision = get("release_name");
|
||||
within('{{release_path}}', function () use ($revision){
|
||||
run("echo $revision > dist/revision.json");
|
||||
});
|
||||
});
|
||||
|
||||
desc('Deploy your project');
|
||||
|
||||
Reference in New Issue
Block a user