Last active
March 22, 2020 06:49
-
-
Save kresnasatya/1acf9a1838b01c5f529c3b8ad1a24488 to your computer and use it in GitHub Desktop.
Deploy secrets setup for Laravel Deployer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Deployer; | |
desc('Deploy secrets'); | |
task('deploy:secrets', function() { | |
// deploy_path sudah di definisikan di dalam file deploy.php | |
run('cp $HOME/env/laravel-gl-action/.env {{deploy_path}}/shared'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment