skadi-action

command module
v1.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2021 License: MIT Imports: 4 Imported by: 0

README

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'

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL