Skip to content

Commit 521fdb1

Browse files
authored
Early access (#2)
* Initial setup of project files and directory structure. * Update package dependencies and scripts; include new devDependencies and adjust TypeScript configuration to include scripts directory. * Fix URL base in deploy script to use correct environment variable for RoamJS releases. * Remove unused publish script and early access workflow from the project.
1 parent cdfffa9 commit 521fdb1

5 files changed

Lines changed: 754 additions & 4 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Manual - Breadcrumbs Vercel Release Publish
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
ref:
7+
description: "Git ref to deploy (branch, tag, or SHA)"
8+
required: false
9+
default: "main"
10+
11+
env:
12+
BLOB_READ_WRITE_TOKEN: ${{ secrets.ROAMJS_VERCEL_BLOB_READ_WRITE_TOKEN }}
13+
ROAMJS_RELEASES_BASE_URL: https://roamJS.com
14+
15+
jobs:
16+
deploy:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: Checkout Code
20+
uses: actions/checkout@v4
21+
with:
22+
ref: ${{ inputs.ref }}
23+
24+
- name: Setup Node.js environment
25+
uses: actions/setup-node@v4
26+
with:
27+
node-version: 20
28+
cache: npm
29+
30+
- name: Install dependencies
31+
run: npm install
32+
33+
- name: Build
34+
run: npx samepage build --dry
35+
36+
- name: Deploy
37+
run: npm run deploy:vercel -- --no-compile

0 commit comments

Comments
 (0)