CI for Laravel

Custom Deployments

For custom deploy logic, you can download a project's public SSH key. You can add that public key to a user's authorized_keys file to log in over SSH and run custom commands as well!

You can download the project's SSH public key from the project settings:

chipper ci project ssh key

After using that public key within a user's authorized_keys file within a Linux server, you can use it to SSH in and run commands.

For example, within your build pipeline, you can run something like this:

# Note the use of quotes here
ssh user@my-production-server 'bash -c "cd \
    && git pull origin master \
    && npm run prod \
    && php artisan migrate --force"'