We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5eea311 commit 83876c1Copy full SHA for 83876c1
.github/workflows/deploy.yml
@@ -3,13 +3,12 @@ name: Deploy to Render
3
on:
4
push:
5
branches:
6
- - retina # Change to your deployment branch
+ - retina # Triggers on every commit to this branch
7
paths-ignore:
8
- - '**.md' # Ignore markdown file updates if necessary
+ - '**.md'
9
10
jobs:
11
deploy:
12
- if: github.event.head_commit.parent_ids # Ensures it's not an empty commit (merge commits have multiple parents)
13
runs-on: ubuntu-latest
14
15
steps:
Dockerfile
@@ -0,0 +1,10 @@
1
+FROM node:18-alpine
2
+
+WORKDIR /app
+COPY package.json package-lock.json ./
+# Remove problematic dependencies and force a fresh install
+RUN rm -rf node_modules package-lock.json && \
+ npm cache clean --force && \
+ npm install --force
+CMD ["npm", "start"]
0 commit comments