Skip to content

logfile on server? #242

@j6s

Description

@j6s

Hello. I would like to write a deploy log to my server, to see who deploy what and when.

I am not shure if there are variables defined for the stuff i would need for it, thats why I am asking. The variables I would need are: name (username or git name), current git hash, (current git commit message).

I would like to do something like this:

queu "echo '[$(date)] #{hash} (#{message}) deployed by #{username}' > #{deploy_to}/deploy.log"

This might be a very special usecase, but I would appreciate your help.

btw, Thanks for the value mina is giving us. We are using it for about 3 months now and are probably about 1k-2k deploys in. So much time saved. Thanks guys

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions