Skip to content

Log distribution #178

@franky47

Description

@franky47

Provide a way to pass deployment logs to other actions. This can be:

  • Via an output variable:
- uses: 47ng/actions-clever-cloud@version
  id: deploy
  with:
    logs:
      output: true
- run: echo ${{ steps.deploy.outputs.logs }}
  • Via the filesystem:
- uses: 47ng/actions-clever-cloud@version
  with:
    logs:
      file: ./path/to/file.log # resolved as relative to repository root

Or a combination of those options.

Because logs are printed to the standard output by the Clever Tools CLI, a way to hide them if they contain sensitive data could also be useful:

- uses: 47ng/actions-clever-cloud@version
  with:
    logs:
      stdout: false

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions