Skip to content

Commit 47ddb19

Browse files
committed
Move Service Token README section below Service Accounts
1 parent ebb0a13 commit 47ddb19

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

README.md

+16-17
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,10 @@ This action enables you to fetch Doppler secrets for use in your GitHub Actions.
88

99
The action can be configured in two ways:
1010

11-
* Service Token
1211
* Service Account with Project and Config via either:
1312
- Service Account Identity via OIDC (recommended)
1413
- Service Account Token
15-
16-
17-
### Service Token
18-
19-
A [Doppler Service Token](https://docs.doppler.com/docs/service-tokens) provides read-only access to a single config.
20-
21-
Create a GitHub repository secret named `DOPPLER_TOKEN` or if using multiple Service Tokens (e.g. for a Monorepo), you can prefix the secret name using with application name, e.g. `AUTH_API_DOPPLER_TOKEN`.
22-
23-
Then supply the Service Token using the `doppler-token` input:
24-
25-
```yaml
26-
- uses: dopplerhq/[email protected]
27-
id: doppler
28-
with:
29-
doppler-token: ${{ secrets.DOPPLER_TOKEN }}
30-
```
14+
* Service Token
3115

3216
### Service Account
3317

@@ -67,6 +51,21 @@ jobs:
6751
doppler-config: ci-cd
6852
```
6953

54+
### Service Token
55+
56+
A [Doppler Service Token](https://docs.doppler.com/docs/service-tokens) provides read-only access to a single config.
57+
58+
Create a GitHub repository secret named `DOPPLER_TOKEN` or if using multiple Service Tokens (e.g. for a Monorepo), you can prefix the secret name using with application name, e.g. `AUTH_API_DOPPLER_TOKEN`.
59+
60+
Then supply the Service Token using the `doppler-token` input:
61+
62+
```yaml
63+
- uses: dopplerhq/[email protected]
64+
id: doppler
65+
with:
66+
doppler-token: ${{ secrets.DOPPLER_TOKEN }}
67+
```
68+
7069
## Usage
7170

7271
Secrets can be accessed in two ways:

0 commit comments

Comments
 (0)