Skip to content

GitHub Action to fetch data from an API and save it to a file

License

Notifications You must be signed in to change notification settings

gautemo/fetch-api-data-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

fetch-api-data-action

GitHub Action to fetch data from an API and save it to a file

Inputs

url

Required The url to fetch from.

file

The file data is saved to. Default actions/data.json

Example usage

uses: gautemo/[email protected]
with:
  url: 'https://fake-movie-database-api.herokuapp.com/api?s=batman'
  file: 'backup/data.json'

About

GitHub Action to fetch data from an API and save it to a file

Resources

License

Stars

Watchers

Forks

Packages

No packages published