mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-21 22:37:19 +00:00
Update build config for new pear server.
Point to the new dokku based pear server. Put the files in the new location and rebuild the dokku app.
This commit is contained in:
parent
86b5401778
commit
23009ae3cc
2 changed files with 4 additions and 4 deletions
|
@ -9,4 +9,4 @@ build.dir = build
|
|||
dist.dir = dist
|
||||
|
||||
# Server
|
||||
pirum.dir = /home/cakephp/www-live/pear.cakephp.org
|
||||
pirum.dir = /var/lib/dokku/data/storage/pear
|
||||
|
|
|
@ -213,10 +213,10 @@
|
|||
-->
|
||||
<target name="distribute" depends="prepare" description="Upload pear packages to pear.cakephp.org">
|
||||
<echo msg="Uploading tgz file to cakephp.org" />
|
||||
<exec command="scp ${dist.dir}/${pear.package}.tgz cakephp@pear.cakephp.org:${pirum.dir}" dir="." checkreturn="true" />
|
||||
<exec command="scp ${dist.dir}/${pear.package}.tgz root@cakephp.org:${pirum.dir}" dir="." checkreturn="true" />
|
||||
|
||||
<echo msg="Adding new release to pirum" />
|
||||
<exec command="ssh cakephp@pear.cakephp.org pirum add ${pirum.dir} ${pirum.dir}/${pear.package}.tgz" checkreturn="true" />
|
||||
<echo msg="Rebuilding pear.cakephp.org container" />
|
||||
<exec command="ssh root@cakephp.org dokku ps:rebuild pear" checkreturn="true" />
|
||||
</target>
|
||||
|
||||
<target name="codestyle" description="Check codestyle (human readable format)">
|
||||
|
|
Loading…
Reference in a new issue