Skip to content

Commit

Permalink
Add test runner request action
Browse files Browse the repository at this point in the history
  • Loading branch information
benbjohnson committed Jan 30, 2022
1 parent f8382cf commit 26f219d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/request_test_runner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Request Test Runner
on:
workflow_dispatch:
inputs:
run_id:
required: true
type: string
litestream_version:
required: true
type: string

jobs:
build:
runs-on: ubuntu-18.04
environment:
name: test
url: http://litestream-test-runner-${{ github.sha }}.fly.dev
steps:
- name: Dispatch test runner
run: gh workflow run deploy.yml -R benbjohnson/litestream-test-runner -f run_id=${{ github.event.inputs.run_id }} -f litestream_version=${{ github.event.inputs.litestream_version }}
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}

0 comments on commit 26f219d

Please sign in to comment.