Replace hard-coded hostname with input

This commit is contained in:
Tobi Schäfer 2025-05-24 19:14:30 +00:00
parent 27cdc5104b
commit 1001b3b503

View file

@ -1,15 +1,18 @@
name: Deploy (Production)
on: workflow_dispatch
on:
workflow_dispatch:
inputs:
hostname:
description: Hostname
type: string
required: true
default: antville.org
jobs:
deploy:
runs-on: antville
environment:
name: antville.org
url: https://antville.org
steps:
- name: Copy files to production server
run: ssh staging-server deploy-helma
run: ssh ${{ inputs.hostname }} deploy-helma