Add .gitea/workflows/deploy-uses-reusable.example.yml
This commit is contained in:
19
.gitea/workflows/deploy-uses-reusable.example.yml
Normal file
19
.gitea/workflows/deploy-uses-reusable.example.yml
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
name: Deploy Using Reusable
|
||||||
|
|
||||||
|
"on":
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
runner:
|
||||||
|
description: Runner label (single label)
|
||||||
|
required: true
|
||||||
|
default: ubuntu-latest
|
||||||
|
image:
|
||||||
|
description: Image to deploy
|
||||||
|
required: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
uses: tienngo/ci-templates/.gitea/workflows/deploy-compose.reusable.yml@main
|
||||||
|
with:
|
||||||
|
runner: ${{ inputs.runner }}
|
||||||
|
image: ${{ inputs.image }}
|
||||||
Reference in New Issue
Block a user