Skip to content

More improvements to backend deploy action#18

Merged
jkatofsky merged 9 commits intomainfrom
make-deploy-action-not-terrible
Mar 1, 2026
Merged

More improvements to backend deploy action#18
jkatofsky merged 9 commits intomainfrom
make-deploy-action-not-terrible

Conversation

@jkatofsky
Copy link
Copy Markdown
Collaborator

@jkatofsky jkatofsky commented Feb 28, 2026

  • Fail the whole action on any command
  • Use Node 20
  • Install with frozen lockfile (best practice)
  • Keep the yarn cache cleaned to keep more storage free
  • Use pm2 restart instead of a delete/start. This is better because:
    • no downtime while are we rebuilding the app
    • we only restart the app once the deploy has succeeded

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 28, 2026

Deploy Preview for dishzeroweb canceled.

Name Link
🔨 Latest commit 823a05b
🔍 Latest deploy log https://app.netlify.com/projects/dishzeroweb/deploys/69a46fa20364b900089aa50f

@jkatofsky jkatofsky marked this pull request as ready for review March 1, 2026 16:59
@jkatofsky jkatofsky changed the title Improve backend deploy action More improvements to backend deploy action Mar 1, 2026
@jkatofsky jkatofsky merged commit de219d0 into main Mar 1, 2026
5 checks passed
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

Successfully merging this pull request may close these issues.

1 participant