Skip to content

Commit e253c0a

Browse files
committed
ci: add Roomy PR preview builds with Deno deploy.
1 parent cd07d2a commit e253c0a

2 files changed

Lines changed: 23 additions & 1 deletion

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pull Request Preview
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
deploy:
9+
permissions:
10+
id-token: write # required
11+
contents: read
12+
steps:
13+
- run: |
14+
pnpm i
15+
pnpm run build-web-app
16+
- name: Deploy to Deno Deploy
17+
uses: denoland/deployctl@v1
18+
with:
19+
project: roomy-space
20+
entrypoint: https://deno.land/std/http/file_server.ts

.github/workflows/sdk-api-docs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
jobs:
1010
# Build job
1111
build:
12+
# Disable API docs for now since we don't have that much of an API anymore.
13+
if: 'false'
1214
runs-on: ubuntu-latest
1315
permissions:
1416
contents: read
@@ -26,7 +28,7 @@ jobs:
2628

2729
# Deployment job
2830
deploy:
29-
if: github.event_name == 'push' && github.ref_name == 'main'
31+
if: false && github.event_name == 'push' && github.ref_name == 'main'
3032
environment:
3133
name: github-pages
3234
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)