Skip to content

hack-fan/skadi-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

ServerFan GitHub Action

This action can send notify or command to server.fan service in your GitHub action.

Learn more about server.fan

Notice: The server.fan service is available only in China now, it will release a global version later.

Inputs

  • token: Required, Your User-Token of server.fan, please use GitHub Secrets
  • success: The message text you want see if success
  • failed: The message text you want see if failed
  • command: You can trigger a command after notification, such as a CD process, only run in success.
  • source: The source text you want see, default is the repo name

Example

Don't forget if conditionals, for running after action failed.

- name: Notification
  uses: hack-fan/skadi-action@v1
  if: ${{ always() }}
  with:
    token: ${{ secrets.SKADI_TOKEN }}
    success: 'Success'
    failed: 'Failed'

About

Send notify or command to skadi service in github action.

Resources

License

Stars

Watchers

Forks

Packages