Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ais-one committed Sep 9, 2024
1 parent 2d88aaa commit eade0ea
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/update-fn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Update Function

on:
workflow_dispatch:
# Inputs the workflow accepts.
inputs:
fn_servicename:
description: 'service name'
default: 'btv-finance-fc'
required: true
fn_functionname:
description: 'function name'
default: ''
required: true
jobs:
update_function:
runs-on: ubuntu-latest
name: Updating Function
steps:
- name: Service & Function Names
run: |
echo ${{ github.event.inputs.fn_servicename }}
echo ${{ github.event.inputs.fn_functionname }}
- name: Update Function
uses: aliyun/setup-aliyun-cli-action@v1
run: |
which aliyun
aliyun version
# aliyun fc-open PUT /2021-04-06/services/testServiceName/functions/testFunctionName --body "{\"description\":\"update function\"}"

0 comments on commit eade0ea

Please sign in to comment.