https://github.com/serverless-devs/setup-s-aliyun
An Action for Setup Serverless-Devs with Aliyun Account
https://github.com/serverless-devs/setup-s-aliyun
Last synced: 11 months ago
JSON representation
An Action for Setup Serverless-Devs with Aliyun Account
- Host: GitHub
- URL: https://github.com/serverless-devs/setup-s-aliyun
- Owner: Serverless-Devs
- Created: 2024-01-15T15:04:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-26T11:00:43.000Z (about 2 years ago)
- Last Synced: 2024-02-27T04:32:10.743Z (about 2 years ago)
- Language: Shell
- Size: 29.3 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# setup-s-aliyun
基于阿里云函数计算的 Serverless-devs 安装。
## 使用示例
```yaml
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v4
- name: Setup Serverless-devs
uses: actions/setup-s-aliyun@v1
with:
account_id: ${{ secrets.ACCOUNT_ID }}
access_key_id: ${{ secrets.ACCESS_KEYID }}
access_key_secret: ${{ secrets.ACCESS_KEYSECRET }}
access: default
version: v3.0.0
```
## 参数说明
| 字段 | 说明 | 类型 | 默认值 |
| ----- | -------- | ---- | ---|
| account_id | 必填,阿里云账号ID | string | - |
| access_key_id | 必填,阿里云AK | string | - |
| access_key_secret | 必填,阿里云SK | string | - |
| access | 非必填,密钥别名 | string | default |
| version | 非必填,安装版本 | v3.0.0 | v3.0.0 |
密钥相关说明详见 [Serverless-devs 文档](https://docs.serverless-devs.com/serverless-devs/default_provider_config#%E9%98%BF%E9%87%8C%E4%BA%91%E5%AF%86%E9%92%A5%E8%8E%B7%E5%8F%96)。