Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

automate pulling data? #144

Open
Geczy opened this issue Jan 11, 2024 · 2 comments
Open

automate pulling data? #144

Geczy opened this issue Jan 11, 2024 · 2 comments

Comments

@Geczy
Copy link
Contributor

Geczy commented Jan 11, 2024

have you thought about adding automation so it fetches new data every hour for example? easy to do with a github action

@Geczy
Copy link
Contributor Author

Geczy commented Jan 11, 2024

for example

name: Hourly Build

on:
  schedule:
    - cron: '0 * * * *' # Run every hour

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout Repository
      uses: actions/checkout@v2

    - name: Set up Node.js
      uses: actions/setup-node@v3
      with:
        node-version: '14'

    - name: Install Dependencies
      run: npm install

    - name: Build
      run: npm run build

    - name: Commit and Push Changes
      run: |
        git config --global user.name 'GitHub Actions'
        git config --global user.email 'actions@github.com'
        git add .
        git commit -m "Auto-build every hour"
        git push

@howardchung
Copy link
Member

We could do something like this to keep the repo up to date, but we'd still have to manually audit because sometimes things break, plus do the publish to npm and update core and web deps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants