Skip to content

Commit e1eba20

Browse files
committed
add port
1 parent 76371b2 commit e1eba20

File tree

3 files changed

+3
-40
lines changed

3 files changed

+3
-40
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,11 @@
1-
name: Deploy to Docker Hub and Render
1+
name: Deploy to Render
22

33
on:
44
push:
55
branches:
66
- retina # Change to your deployment branch
77

88
jobs:
9-
build-and-push:
10-
runs-on: ubuntu-latest
11-
12-
steps:
13-
- name: Checkout repository
14-
uses: actions/checkout@v3
15-
16-
- name: Set up QEMU
17-
uses: docker/setup-qemu-action@v2
18-
19-
- name: Set up Docker Buildx
20-
uses: docker/setup-buildx-action@v2
21-
22-
- name: Log in to Docker Hub
23-
uses: docker/login-action@v2
24-
with:
25-
username: ${{ secrets.DOCKERHUB_USERNAME }}
26-
password: ${{ secrets.DOCKERHUB_PASSWORD }}
27-
28-
- name: Build and push Docker image
29-
uses: docker/build-push-action@v4
30-
with:
31-
context: .
32-
platforms: linux/amd64
33-
push: true
34-
tags: seanyl/deepgit:app
35-
369
deploy-to-render:
3710
needs: build-and-push # Ensure this runs only after the Docker image is pushed
3811
runs-on: ubuntu-latest

Dockerfile

Lines changed: 0 additions & 10 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "deepgit",
33
"version": "1.0.0-beta.4",
44
"scripts": {
5-
"start": "vite",
5+
"start": "vite preview --port $PORT --host",
66
"build": "vite build",
77
"test": "vitest",
88
"clean": "prettier --write src",
@@ -87,4 +87,4 @@
8787
"last 1 safari version"
8888
]
8989
}
90-
}
90+
}

0 commit comments

Comments
 (0)