Skip to content
cloud-lightning

GitHub Action

AliYun FUN

1.0.0 Pre-release

AliYun FUN

cloud-lightning

AliYun FUN

Setup AliYun fun command line tool, add it to the PATH and configure authentication

Installation

Copy and paste the following snippet into your .yml file.

              

- name: AliYun FUN

uses: hughcube/[email protected]

Learn more about this action in hughcube/aliyun-fun-action

Choose a version

AliYun Fun GitHub Actions

Test Actions status License

This action installs and configures AliYun Fun command line tool for use in your GitHub Action steps.

Usage

steps:
- uses: actions/checkout@v1
- uses: hughcube/[email protected]
- name: Deploy to Fun
  env:
    REGION: cn-shenzhen
    ACCOUNT_ID: ${{ secrets.ALIYUN_FUN_ACCOUNT_ID }}
    ACCESS_KEY_ID: ${{ secrets.ALIYUN_FUN_ACCESS_KEY_ID }}
    ACCESS_KEY_SECRET: ${{ secrets.ALIYUN_FUN_ACCESS_KEY_SECRET }}
  run: |
    cp .fun/template.yml template.yml
    sed -i 's#{{tag}}#${{ github.event.ref }}#' ./template.yml
    fun deploy --assume-yes

License

MIT