Skip to content

Commit

Permalink
Merge pull request #5 from LibrariesHacked/4-fix-daily-data-job
Browse files Browse the repository at this point in the history
Ensuring dependencies are installed during daily refresh
  • Loading branch information
DaveBathnes authored Jun 30, 2024
2 parents f056798 + a724fae commit 3eab334
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/refresh_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm install

- name: download data
run: npm run download

- name: process the data
run: npm run process

- name: run a deployment
run: npm run deploy
- name: Deploy with gh-pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy -- -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: check for changes
run: git status
Expand Down

0 comments on commit 3eab334

Please sign in to comment.