Skip to content

Top Sales Week

Top Sales Week #4003

Workflow file for this run

name: Top Sales Week
on:
schedule:
- cron: 0 */4 * * *
permissions:
contents: write
jobs:
refresh-feed:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Fetch API Data
uses: JamesIves/fetch-api-data-action@v2
with:
endpoint: https://web-api.cryptoslam.io/v1/collections/ufcnft/top-sales?limit=10&timeInterval=7
configuration: '{ "method": "GET" }'
save-location: data
save-name: topsalesweek
set-output: false
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: main # Pushes the updates to the main branch.
folder: data # The location of the data.json file saved by the Fetch API Data action.
target-folder: data # Saves the data into the 'data' directory