Skip to content

Environment variables

NOTE:

The source code for the examples below can be found on GitHub.

The workflow below sets environment variables:

workflows:
  - name: hello-env
    provider: bash
    env:
      - DSTACK_ENV_1=VAL1
      - DSTACK_ENV_2=VAL2
      - DSTACK_ENV_3
    commands:
      - env