This is a workflow repository powered by Actionsflow, generated from actionsflow/actionsflow-workflow-default

🏁 Getting Started

Build an Actionsflow workflow is a three-step process:

  1. Create a public Github repository by this link.

    A typical Actionsflow repository structure looks like this:

    ├── .github
    │   └── workflows
    │       └── actionsflow.yml
    ├── .gitignore
    ├── README.md
    └── workflows
    │   └── rss.yml
    │   └── webhook.yml
    └── package.json
  2. Define your workflow file at workflows directory

    A typical workflow file rss.yml looks like this:

    on:
      rss:
        url: https://hnrss.org/newest?points=300
    jobs:
      ifttt:
        name: Make a Request to IFTTT
        runs-on: ubuntu-latest
        steps:
          - uses: actionsflow/ifttt-webhook-action@v1
            with:
              event: notice
              key: ${{ secrets.IFTTT_KEY }}
              value1: ${{on.rss.outputs.title}}
              value2: ${{on.rss.outputs.contentSnippet}}
              value3: ${{on.rss.outputs.link}}

    For more information about the Actionsflow workflow file, see the Actionsflow workflow reference.

    You can explore Triggers List or Awesome Actionsflow Workflows to get more inspired.

  3. Commit and push your updates to Github

Then, Actionsflow will run your workflows as you defined, you can view logs at your repository actions tab at Github

For more information, see Full documentation

Run Locally

You can run Actionsflow locally for testing your workflow files.

Install

npm install

Build

npm run build
# Then, the standard workflow files will be built at ./dist/workflows

Clean

Actionsflow build will use cache for deduplicating the data, if you want to test your workflow with the same data, you may need to clean the cache by the following command:

# Clean the cache and dist folder.
npm run clean

🎓 Learn More

Full documentation for Actionsflow lives on the website.