Skip to content

actionsflow/actionsflow-trigger-example_for_js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@actionsflow/trigger-example_for_js

This is an Actionsflow example trigger.

Install

npm i @actionsflow/trigger-example_for_js

Usage

on:
  example_for_js:
    param1: value1

Options

  • param1, optional, describe your param

You can use General Config for Actionsflow Trigger for more customization.

Outputs

This trigger's outputs will be the following object.

An outputs example:

{
  "id": "uniqueId",
  "title": "hello world title"
}

You can use the outputs like this:

on:
  example_for_js:
    param1: value1
jobs:
  print:
    name: Print
    runs-on: ubuntu-latest
    steps:
      - name: Print Outputs
        env:
          title: ${{ on.example_for_js.outputs.title }}
          id: ${{ on.example_for_js.outputs.id }}
        run: |
          echo "title: $title"
          echo "id: $id"

About

Actonsflow trigger example for js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published