Skip to content

Commit

Permalink
Update host-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BSd3v authored Oct 10, 2024
1 parent 4973cd2 commit bbd7110
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/host-test.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
name: Run tests
name: Host Test App

on:
workflow_dispatch:
inputs:
pr_number:
description: 'Pull Request Number'
required: true
type: string

jobs:
deploy:
runs-on: ubuntu-latest
if: github.event.pull_request != null
steps:
- uses: actions/checkout@v3
with:
ref: refs/pull/${{ github.event.inputs.pr_number }}/merge

- uses: actions/setup-python@v3
with:
python-version: 3.12

- name: 'Setup Chrome and chromedriver'
uses: nanasess/setup-chromedriver@v2

Expand Down Expand Up @@ -54,7 +62,6 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number }}
PR_NUMBER: ${{ github.event.inputs.pr_number }}
ARTIFACT_URL: ${{env.artifact_url}}
run: python tmp_deploy.py

0 comments on commit bbd7110

Please sign in to comment.