创建流水线:deploy-api.yml

This commit is contained in:
xxq250 2026-05-26 16:00:35 +08:00
parent aa494bd9a9
commit a6cd4c406c
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
name: Deploy API
on:
workflow_call:
inputs:
env:
required: true
type: string
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy API
run: |
echo "Deploying API to ${{ inputs.env }}"