Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Nightly update Starbucks store data #1657

Nightly update Starbucks store data

Nightly update Starbucks store data #1657

Workflow file for this run

name: Nightly update Starbucks store data
on:
schedule:
# https://crontab.guru/every-night-at-midnight
- cron: "0 0 * * *"
jobs:
update_data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: "16.x"
- run: git checkout json-update || true
- run: yarn
- run: yarn build
- run: yarn check
- run: yarn db
- name: Create Pull Request
uses: gr2m/create-or-update-pull-request-action@v1.x
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: "Update Starbucks store data"
branch: "json-update"
path: "./"
commit-message: "Update Starbucks store data"
author: "github-actions<41898282+github-actions[bot]@users.noreply.github.com>"