* deploy.php fixed

* bookmark installer fixed
This commit is contained in:
Dávid Danyi 2016-08-29 17:06:02 +02:00
parent dadd365ae8
commit d64273c9e9
3 changed files with 13 additions and 3 deletions

View File

@ -21,7 +21,7 @@
<body>
<b>Just Drag'n'Drop the button into your Bookmarks</b>
<div class="button">
<a href="javascript:(function(){ var script = document.createElement(&quot;script&quot;); script.src = &quot;https://qoomon.github.io/Jira-Issue-Card-Printer/bookmarklet.js&quot;; document.body.appendChild(script); document.body.removeChild(script);})();">CardPrinter</a>
<a href="javascript:(function(){ var script = document.createElement(&quot;script&quot;); script.src = &quot;http://vasgyuro.tsp/~edvidan/jira-card-printer/bookmarklet.js&quot;; document.body.appendChild(script); document.body.removeChild(script);})();">CardPrinter</a>
</div>
</body>
</html>

View File

@ -2,7 +2,7 @@
javascript:(function(){
var head = document.getElementsByTagName("head")[0];
var scriptElement = document.createElement("script");
scriptElement.src = 'https://qoomon.github.io/Jira-Issue-Card-Printer/bookmarklet.js';
scriptElement.src = 'http://vasgyuro.tsp/~edvidan/jira-card-printer/bookmarklet.js';
head.appendChild(scriptElement);
head.removeChild(scriptElement);
})();

View File

@ -2,10 +2,20 @@
require 'recipe/common.php';
server('prod', 'host', 22)
server('prod', 'vasgyuro.tsp', 22)
->user('edvidan')
->forwardAgent() // You can use identity key, ssh config, or username/password to auth on the server.
->stage('production')
->env('deploy_path', '/home/edvidan/applications/jira-card-printer'); // Define the base path to deploy your project to.
set('repository', '/home/edvidan/git/jira-card-printer.git');
env('branch', 'taurus-xft');
task('deploy', [
'deploy:prepare',
'deploy:release',
'deploy:update_code',
// 'deploy:vendors',
'deploy:symlink',
'cleanup',
]);