Skip to content

Commit 83876c1

Browse files
committed
test
1 parent 5eea311 commit 83876c1

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ name: Deploy to Render
33
on:
44
push:
55
branches:
6-
- retina # Change to your deployment branch
6+
- retina # Triggers on every commit to this branch
77
paths-ignore:
8-
- '**.md' # Ignore markdown file updates if necessary
8+
- '**.md'
99

1010
jobs:
1111
deploy:
12-
if: github.event.head_commit.parent_ids # Ensures it's not an empty commit (merge commits have multiple parents)
1312
runs-on: ubuntu-latest
1413

1514
steps:

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM node:18-alpine
2+
3+
WORKDIR /app
4+
COPY package.json package-lock.json ./
5+
# Remove problematic dependencies and force a fresh install
6+
RUN rm -rf node_modules package-lock.json && \
7+
npm cache clean --force && \
8+
npm install --force
9+
10+
CMD ["npm", "start"]

0 commit comments

Comments
 (0)