Skip to content

Commit 50b2f59

Browse files
Merge pull request #15 from yewstack/merge-backend-compiler
merge backend and compiler into single Cloud Run service
2 parents 03a727d + 08776f6 commit 50b2f59

23 files changed

Lines changed: 308 additions & 1183 deletions

File tree

.github/workflows/build-publish-app-compiler.yml

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

.github/workflows/build-publish-backend.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
name: Build & Publish Backend
1+
name: Build & Deploy Playground
22
on:
33
push:
44
branches: [ master ]
55
paths:
66
- 'services/backend/**'
7+
- 'services/common/**'
8+
- 'app/**'
79
- 'Cargo.*'
810
- '.github/workflows/build-publish-backend.yml'
911

1012
jobs:
11-
backend:
12-
name: Build & publish backend
13+
playground:
14+
name: Build & deploy playground
1315
runs-on: ubuntu-latest
1416
steps:
1517
- uses: actions/checkout@v6
@@ -52,7 +54,7 @@ jobs:
5254
service: 'playground-backend'
5355
region: us-west1
5456
image: us-docker.pkg.dev/yew-rs/yew-playground/playground:latest
55-
flags: '--min-instances=1'
57+
flags: '--min-instances=0'
5658

5759
- name: Deploy URL
5860
run: echo ${{ steps.deploy.outputs.url }}

0 commit comments

Comments
 (0)