28 lines
755 B
YAML
28 lines
755 B
YAML
name: Service
|
|
|
|
# Manually re-deploy (and restart) individual services, or all of them, in dev.
|
|
# There is deliberately no prod option here - prod deploys go through the
|
|
# normal push-to-main flow (see the 'Deploy' workflow), which requires review.
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
service:
|
|
description: "Service name in lower case, or 'all' for every service"
|
|
type: string
|
|
required: true
|
|
|
|
env:
|
|
UV_CACHE_DIR: /var/cache/uv
|
|
UV_LINK_MODE: hardlink
|
|
|
|
jobs:
|
|
deploy-dev:
|
|
runs-on: hla-dev
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Deploy and restart ${{ inputs.service }}
|
|
run: |
|
|
./.gitea/scripts/deploy-for-services.sh "${{ inputs.service }}" "dev"
|