Skip to content

Commit

Permalink
Add unglue_server config option
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMaaarc committed Dec 9, 2024
1 parent 670075f commit 40fdbc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Available Options
## Unglue

In order to use [unglue](https://unglue.io) you can add `after('luya:commands', 'unglue');` in your deploy.php. This will download the unglue phar file and compile the files according to the .unglue file.
In order to use [unglue](https://unglue.io) you can add `after('luya:commands', 'unglue');` in your deploy.php. This will download the unglue phar file and compile the files according to the .unglue file. You will also need to `set('unglue_server', 'https://...');` to your Unglue server URL.

## Authorization Password / SSH Key

Expand Down
2 changes: 1 addition & 1 deletion luya.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@

// add unglue task after deployment, f.e. `after('luya:commands', 'unglue');`
task('unglue', function() {
run('cd {{release_path}} && {{bin/unglue}} compile --silent=0');
run('cd {{release_path}} && {{bin/unglue}} compile --silent=0 --server {{unglue_server}}');
});


Expand Down

0 comments on commit 40fdbc5

Please sign in to comment.