Skip to content

Commit

Permalink
update GitHub Actions Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mrofisr committed Jun 29, 2024
1 parent f559cce commit 98ff9fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ jobs:
image: us-central1-docker.pkg.dev/${{ secrets.PROJECT_ID }}/cloud-run/cloud-run-back:${{ env.IMAGE_VERSION }}
region: us-central1
project_id: ${{ secrets.PROJECT_ID }}
env_vars: |-
PORT=4000

- name: Deploy to Cloud Run Frontend
id: deploy-cloud-run-front
Expand All @@ -78,8 +76,6 @@ jobs:
image: us-central1-docker.pkg.dev/${{ secrets.PROJECT_ID }}/cloud-run/cloud-run-front:${{ env.IMAGE_VERSION }}
region: us-central1
project_id: ${{ secrets.PROJECT_ID }}
env_vars: |-
PORT=80

- name: Test Cloud Run
run: |
Expand Down
4 changes: 2 additions & 2 deletions back/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ app.get('/api/hello', (_req: Request, res: Response) =>
res.json({ message: 'hello' }),
)

app.listen(4000, () => {
console.info(`🚀 express http server started at http://localhost:${4000}`)
app.listen(8080, () => {
console.info(`🚀 express http server started at http://localhost:${8080}`)
})
3 changes: 1 addition & 2 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ http {
}

server {
listen 80;
listen 8080;
server_name _;
index index.html index.htm;

Expand All @@ -25,4 +25,3 @@ http {
events {
worker_connections 1024;
}

0 comments on commit 98ff9fd

Please sign in to comment.