Skip to content

Commit b5553af

Browse files
Merge pull request LambdaTest#1865 from amanchopra1905/stage
updated the yaml file
2 parents 0edb92e + 4e4b0b0 commit b5553af

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

docs/hyperexecute-how-to-manage-project-level-secrets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ project: your-project-name
7777

7878
# highlight-start
7979
env:
80-
SECRET_KEY: ${{LT_SECRET_KEY}}
80+
LT_SECRET_KEY: ${{.secrets.token}}
8181
# highlight-end
8282
```
8383

docs/hyperexecute-how-to-save-and-manage-secrets.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -115,21 +115,17 @@ During HyperExecute test execution, you might need to access sensitive informati
115115

116116
Consider these secret key names: `secretKey1` and `secretKey2`.
117117

118-
```bash
118+
```yaml
119119
version: 0.1
120120
env:
121-
MyKey1: ${{.secrets.secretKey1}}
122-
123-
vars:
124-
MyKey2: ${{.secrets.secretKey2}}
125-
Path: /java/files*.feature
121+
MyKey1: ${{.secrets.token}}
126122

127-
runson: win
128-
testDiscovery:
129-
type: raw
130-
mode: dynamic
131-
args:
132-
featureFilePath: ${Path}
123+
runson: win
124+
testDiscovery:
125+
type: raw
126+
mode: dynamic
127+
args:
128+
featureFilePath: ${Path}
133129

134130
testRunnerCommand: npm run --username abc --password ${{.secrets.SecretKey2}}
135131
```

0 commit comments

Comments
 (0)