Skip to content

Commit 516a1ab

Browse files
authored
Merge pull request #35 from amirkx/documentation-suggestions
Documentation suggestions
2 parents ea2de57 + b9f5e1c commit 516a1ab

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Create Envfile Github Action
1+
# Create .Env File Github Action
22

33
[![GitHub
44
release](https://img.shields.io/github/release/SpicyPizza/create-envfile.svg?style=flat-square)](https://github.com/SpicyPizza/create-envfile/releases/latest)
@@ -8,15 +8,14 @@ marketplace](https://img.shields.io/badge/marketplace-create--env--file-blue?log
88

99
## About
1010

11-
A Github Action to create a .env file with Github Secrets. This is useful when
12-
you are creating artifacts that need to contain secrets stored in Github
13-
Secrets. This creates a file with variables that are defined in the Action
14-
config.
11+
A Github Action to create an '.env' file with Github Secrets. This is useful
12+
when you are creating artifacts that contain values stored in Github Secrets.
13+
This creates a file with variables that are defined in the Action config.
1514

1615
## Usage
1716

1817
The Action looks for environment variables that start with `envkey_` and creates
19-
an envfile with them. These are defined in the `with` section of the Action
18+
an '.env' file with them. These are defined in the `with` section of the Action
2019
config. Here is an example of it in use:
2120

2221
```yml
@@ -45,16 +44,16 @@ jobs:
4544
## Inputs
4645
4746
In the example above, there are several key/value pairs that will be added to
48-
the envfile:
47+
the '.env' file:
4948
5049
| Name | Description |
5150
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
52-
| `envkey_DEBUG`, `envkey_SOME_API_KEY` | These values can be whatever, and they will be added to the envfile as `DEBUG` and `SOME_API_KEY` . |
51+
| `envkey_DEBUG`, `envkey_SOME_API_KEY` | These values can be whatever, and they will be added to the '.env' file as `DEBUG` and `SOME_API_KEY` . |
5352
| `envkey_SECRET_KEY` | This one will use a secret stored in the repository's Github Secrets, and add it to the file as `SECRET_KEY` |
5453
| `directory` (**Optional**) | This key will set the directory in which you want to create `env` file. **Important: cannot start with `/`. Action will fail if the specified directory doesn't exist.** |
55-
| `file_name` (**Optional**) | Set the name of the output envfile. Defaults to `.env` |
54+
| `file_name` (**Optional**) | Set the name of the output '.env' file. Defaults to `.env` |
5655

57-
Assuming that the Github Secret that was used is `password123`, the .env file
56+
Assuming that the Github Secret that was used is `password123`, the '.env' file
5857
that is created from the config above would contain:
5958

6059
```text

0 commit comments

Comments
 (0)