Skip to content

Commit

Permalink
using inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamguys committed Apr 10, 2024
1 parent b56f0d4 commit fae1297
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/irctc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ on:
- 'main'
pull_request:
workflow_dispatch:
inputs:
USERNAME:
required: true
type: string
PASSWORD:
required: true
type: string

jobs:
IRCTC-Booking:
Expand Down Expand Up @@ -36,4 +43,4 @@ jobs:
# continue-on-error: true
with:
browser: chrome
command: npx cypress run --record --key a15b31a6-b9ee-4678-b9ac-f45a190851fe --browser chrome --env USERNAME=${{secrets.USERNAME}},PASSWORD=${{secrets.PASSWORD}}
command: npx cypress run --record --key a15b31a6-b9ee-4678-b9ac-f45a190851fe --browser chrome --env USERNAME=${{inputs.USERNAME}},PASSWORD=${{inputs.PASSWORD}}

0 comments on commit fae1297

Please sign in to comment.