Skip to content

Commit

Permalink
Add workflow_dispatch trigger (#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi authored Aug 22, 2024
1 parent cbe5ac5 commit c09d307
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/dance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ on:
- main
schedule:
- cron: "12 3 * * *" # after FerretDB's Docker workflow
workflow_dispatch:
inputs:
ferretdb_image:
description: FerretDB Docker image
default: ghcr.io/ferretdb/ferretdb-dev:main
required: false
postgres_image:
description: PostgreSQL Docker image
default: postgres:16.4
required: false

env:
GOPATH: /home/runner/go
Expand Down Expand Up @@ -89,8 +99,8 @@ jobs:
- name: Start environment
run: bin/task env-up-detach DB=${{ matrix.db }}
env:
FERRETDB_IMAGE: ghcr.io/ferretdb/ferretdb-dev:main
POSTGRES_IMAGE: postgres:16.4
FERRETDB_IMAGE: ${{ inputs.ferretdb_image }}
POSTGRES_IMAGE: ${{ inputs.postgres_image }}

- name: Run init
run: bin/task init
Expand Down

0 comments on commit c09d307

Please sign in to comment.