Skip to content

Commit 167dba2

Browse files
author
dmy.berezovskyi
committed
Added git hub env description for README.md
1 parent c295d79 commit 167dba2

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,25 @@ A simple UI automation framework built with:
5454
# Add more environments and their default URLs as needed
5555
}
5656
```
57-
57+
5. Setup github env for CI GitHib Actions
58+
- Go to repo settings
59+
- Go to Secrets and Variables
60+
- Add New Environment Variables:
61+
- Click the "New repository variable" button.
62+
- In the "Name" field, enter the desired variable name:
63+
- For development environment: DEV_URL
64+
- For staging environment: STAGE_URL
65+
- In the "Value" field, input the corresponding URL (e.g., https://dev.example.com or https://stage.example.com).
66+
- Click "Add variable" to save your changes.
67+
```
68+
jobs:
69+
selenium-tests:
70+
runs-on: macos-latest
71+
env:
72+
DEV_URL: ${{ vars.DEV_URL }}
73+
STAG_URL: ${{ vars.STAG_URL }}
74+
```
75+
5876
### Latest Drivers
5977

6078
- #### [Chrome Drivers](https://googlechromelabs.github.io/chrome-for-testing/#stable)

0 commit comments

Comments
 (0)