Skip to content

Commit

Permalink
Remove devDeps before deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
ertrzyiks committed Jan 20, 2025
1 parent d3c6063 commit 8f271ff
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,14 @@ jobs:
- name: Build
run: yarn build

- name: Remove devDependencies from package.json
uses: jaywcjlove/github-action-package@main
with:
unset: devDependencies

- name: Update lock file
run: yarn

- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DOKKU_DEPLOY_KEY }}
Expand All @@ -72,7 +80,6 @@ jobs:
git add .
git add --force .next
git add --force prisma
git add --force .yarn/cache
git commit -m 'Update'
git push dokku HEAD:master --force
Expand Down

0 comments on commit 8f271ff

Please sign in to comment.