Skip to content

Commit

Permalink
docs: more readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
ANGkeith committed Oct 4, 2024
1 parent 815edaf commit 150a920
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ gitlab-ci-local --remote-variables git@gitlab.com:firecow/example.git=gitlab-var

### Project file variables

The `--variables-file` [default: $CWD/.gitlab-ci-local-variables.yml] supports the following format
The `--variables-file` [default: $CWD/.gitlab-ci-local-variables.yml] can be used to setup the CI/CD variables for the executors

#### yaml
#### `yaml` format
```yaml
---
AUTHORIZATION_PASSWORD: djwqiod910321
Expand All @@ -295,16 +295,14 @@ EXAMPLE:
production: "I am only available in jobs with `environment: production`"
```
#### .env
#### `.env` format
```
AUTHORIZATION_PASSWORD=djwqiod910321
DOCKER_LOGIN_PASSWORD=dij3213n123n12in3
# NOTE: value will be '~/.ssh/known_hosts' which is different behavior from the yaml format
KNOWN_HOSTS='~/.ssh/known_hosts'
```
Variables will now appear in your jobs.

### Decorators
#### The `@Description` decorator
Expand Down

0 comments on commit 150a920

Please sign in to comment.