创建流水线:deploy-api.yml
This commit is contained in:
parent
aa494bd9a9
commit
a6cd4c406c
|
|
@ -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 }}"
|
||||
Loading…
Reference in New Issue