Skip to content

hughcube/aliyun-fun-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

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/aliyun-fun-action@1.0.0
- 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published