Skip to content

Commit 236f037

Browse files
committed
Migration
1 parent 8d21101 commit 236f037

581 files changed

Lines changed: 4365 additions & 5787 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/s3-deploy-production.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,12 @@ jobs:
1212
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
1313
steps:
1414
- uses: actions/checkout@v3
15-
16-
- name: Enable Corepack
17-
run: corepack enable
1815

1916
- name: Install dependencies
20-
run: yarn
17+
run: npm ci
2118

2219
- name: Build
23-
run: yarn build
20+
run: ASTRO_TELEMETRY_DISABLED=1 npm run build
2421

2522
- name: Deploy
2623
uses: reggionick/s3-deploy@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ yarn-error.log*
2626

2727
# VSCode
2828
/.vscode/*
29+
.astro

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.1",
55
"scripts": {
66
"dev": "npm run prebuild && npm run build:md && astro dev",
7-
"prebuild": "mkdir -p public/api-specs && rm -rf public/FF_img public/img_webhook_flows && [ -d src/assets/shared/FF_img ] && cp -r src/assets/shared/FF_img public/ || true && [ -d src/content/docs/version-3.0/img_webhook_flows ] && cp -r src/content/docs/version-3.0/img_webhook_flows public/ || true && [ -d src/api-reference/specs ] && cp -r src/api-reference/specs/* public/api-specs/ || true",
7+
"prebuild": "mkdir -p public/api-specs && rm -rf public/FF_img public/img_webhook_flows public/img && [ -d src/assets/shared/img ] && cp -r src/assets/shared/img public/ || true && [ -d src/assets/shared/FF_img ] && cp -r src/assets/shared/FF_img public/ || true && [ -d src/content/docs/version-3.0/img_webhook_flows ] && cp -r src/content/docs/version-3.0/img_webhook_flows public/ || true && [ -d src/api-reference/specs ] && cp -r src/api-reference/specs/* public/api-specs/ || true",
88
"build": "astro build && npm run build:md:prod",
99
"build:md": "node scripts/generate-md.mjs && node scripts/generate-llms.mjs",
1010
"build:md:prod": "node scripts/generate-md.mjs ../build && node scripts/generate-llms.mjs ../build",
-5.89 MB
Loading
640 KB
Loading
29.5 KB
Loading
1.25 MB
Loading
536 KB
Loading
58.8 KB
Loading
135 KB
Loading

0 commit comments

Comments
 (0)