Skip to content

Commit 3562c45

Browse files
authored
github: update Deploy workflow step to run npm install before db refresh (#448)
1 parent 5ec243c commit 3562c45

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,12 @@ jobs:
4343
uses: actions/setup-node@v1
4444
with:
4545
node-version: 14.x
46-
- env:
46+
- name: Refresh DB contents
47+
env:
4748
MONGODB_URI: ${{ secrets.MONGODB_URI }}
48-
run: npm run db:refresh
49+
run: |
50+
npm install
51+
npm run db:refresh
4952
dockerhub:
5053
name: Deploy to Docker Hub
5154
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)