Skip to content

Serverless-Devs/serverless-devs-initialization-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions status License

Serverless-Devs Initialization Action For Github Actions

Install Serverless-Devs tool and configure its credentials for use in other Github Actions.

Table of Contents

Prerequisites

You should be familiar with Serverless-Devs tool. For more information, see:

Usage

Currently, Serverless-Devs supports the following global configuration vendors (in alphabetical order):

Cloud Vendor Name Shorthand
Alibaba Cloud Database (DRDS) Alibaba Cloud alibaba
AWS AWS aws
Azure Azure Azure
Baiduyun Baidu Cloud baidu
Google Cloud Google Cloud Google
Huawei Huawei Cloud Huawei
Tencent Tencent Cloud Tencent

The input credentials of the action are different for different cloud platform. Alibaba is taken as an example in the following step:

    - name: Initializing Serverless-Devs
      uses: Serverless-Devs/Serverless-Devs-Initialization-Action@main
      with:
        AccountID: ${{ secrets.ALIYUN_ACCOUNT_ID }}
        AccessKeyID: ${{ secrets.ALIYUN_ACCESS_KEY_ID }}
        AccessKeySecret: ${{ secrets.ALIYUN_ACCESS_KEY_SECRET }}

See action.yml for the full documentation for this action's inputs.

The application of Serverless-Devs Initialization Actions can refer to Serverless CI/CD

Credentials

Do not store credentials in your repository's code. You may use GitHub Actions secrets to store credentials and redact credentials from GitHub Actions workflow logs.

License Summary

This code is made available under the MIT license.

About

:octocat: This is actions initializing serverless deployment environment

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages