Skip to content

feat: provide configuration via env vars #973

@antongolub

Description

@antongolub

When zx script becomes a part of cicd pipeline/container its parameterization may lose readability, but env map will be much clearer:

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Release
        run: npx some-zx-based-tool
        env:
          ZX_VERBOSE: true
          ZX_SHELL: /some/custom/shell/path

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