Skip to content

Commit 00f583a

Browse files
committed
Update GitHub Action
1 parent 42f9296 commit 00f583a

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Deploy Transcriber
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
environment:
7+
required: true
8+
type: string
9+
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-22.04
13+
environment: ${{ inputs.environment }}
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
18+
- name: Install uv
19+
uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
20+
with:
21+
version: ${{ vars.UV_VERSION }}
22+
23+
- name: Install Python packages
24+
run: uv sync --locked --no-dev
25+
shell: bash

.github/workflows/pull_request.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,10 @@ jobs:
5252
with:
5353
environment: dev
5454
secrets: inherit
55+
56+
deploy-transcriber-dev:
57+
needs: continuous-integration
58+
uses: ./.github/workflows/_deploy_transcriber.yaml
59+
with:
60+
environment: dev
61+
secrets: inherit

0 commit comments

Comments
 (0)