Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: provide configuration via env vars #973

Closed
antongolub opened this issue Dec 14, 2024 · 0 comments · Fixed by #988
Closed

feat: provide configuration via env vars #973

antongolub opened this issue Dec 14, 2024 · 0 comments · Fixed by #988
Labels
ossln24 OSS Library Night 2024

Comments

@antongolub
Copy link
Collaborator

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
@antongolub antongolub added the ossln24 OSS Library Night 2024 label Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ossln24 OSS Library Night 2024
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant