Skip to content

Commit 6cb23bf

Browse files
committed
Deploy and fix
- deploy script - tweak for new joindin url
1 parent 5bca1ae commit 6cb23bf

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

deploy.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/*
3+
* This file has been generated automatically.
4+
* Please change the configuration for correct use deploy.
5+
*/
6+
7+
require 'recipe/composer.php';
8+
9+
// Set configurations
10+
set('repository', '[email protected]:AmsterdamPHP/console.git');
11+
set('shared_files', ['.env']);
12+
set('shared_dirs', []);
13+
set('writable_dirs', []);
14+
15+
// Configure servers
16+
server('production', 'amsterdamphp.nl')
17+
->user('phpamst01')
18+
->identityFile()
19+
->env('deploy_path', '/data/www/console');
20+
21+
// Tasks
22+
task('cron:sync', function () {})->desc("Sync CRON settings");
23+
24+
after('success', 'cron:sync');
25+
after('deploy:update_code', 'deploy:shared');

src/Command/CreateJoindInCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
103103

104104
$this->sendSlackMsg(
105105
sprintf(
106-
'Joind.in event created successfully, its awaiting approval. Find it here: https://joind.in/search/q:%s',
106+
'Joind.in event created successfully, its awaiting approval. Find it here: https://joind.in/search?keyword=%s',
107107
urlencode($event['name'])
108108
)
109109
);

0 commit comments

Comments
 (0)