Skip to content

Commit

Permalink
using secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamguys committed Apr 9, 2024
1 parent eea5550 commit 2a6de24
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,9 @@ on:
# - cron: '0,30 12-21 * * *'
push:
branches:
- 'feature/*'
- 'main'
pull_request:
workflow_dispatch:
inputs:
USERNAME:
required: true
type: string
PASSWORD:
required: true
type: string

jobs:
IRCTC-Booking:
Expand Down Expand Up @@ -43,4 +36,4 @@ jobs:
# continue-on-error: true
with:
browser: chrome
command: npx cypress run --record --key 967b25a7-e4dd-4b5b-a143-d799131b2d3b --browser chrome --env USERNAME=${{inputs.USERNAME}},PASSWORD=${{inputs.PASSWORD}}
command: npx cypress run --record --key 967b25a7-e4dd-4b5b-a143-d799131b2d3b --browser chrome --env USERNAME=${{secrets.USERNAME}},PASSWORD=${{secrets.PASSWORD}}

0 comments on commit 2a6de24

Please sign in to comment.