Skip to content

Run Flyscrape Scripts

Actions
Executes Flyscrape scripts through Github Actions
v1.1.0
Latest
Star (0)

Tags

 (1)

flyscrape-action

tests

Run Flyscrape scripts using Github Actions.

Usage

- uses: MrFlynn/flyscrape-action@v1
  id: run-flyscrape
  with:
    # Version of Flyscrape used to execute the script.
    #
    # Default: latest
    version: ''

    # Arguments to pass to `flyscrape run`. See
    # https://github.com/philippta/flyscrape for a complete list of options.
    args: ''

    # Path to script executed by Flyscrape. This input is required.
    script: ''
  env:
    # Required to access Github API to find download URL for specific Flyscrape
    # version.
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Getting Script Output

Assuming you haven't saved the content of the script to a file, the output can be retrived from this action's output. Extending the example above, you can echo the output using this additional action

- name: Print result
  run: |
    echo "${{ steps.run-flyscrape.outputs.output }}"

Run Flyscrape Scripts is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Executes Flyscrape scripts through Github Actions
v1.1.0
Latest

Tags

 (1)

Run Flyscrape Scripts is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.