Skip to content

Commit 019ab7a

Browse files
authored
Merge pull request #7 from behitek/claude/migrate-new-site-root-011CV56ZKBnyzMhDy9iokNqS
Replace old site with new site
2 parents a9e196a + 376b441 commit 019ab7a

191 files changed

Lines changed: 5904 additions & 33104 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/deploy.yml

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,49 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches:
6-
- main
7-
# Review gh actions docs if you want to further define triggers, paths, etc
8-
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on
5+
branches: [main, astro-main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
916

1017
jobs:
1118
build:
12-
name: Build Docusaurus
1319
runs-on: ubuntu-latest
1420
steps:
15-
- uses: actions/checkout@v4
16-
with:
17-
fetch-depth: 0
18-
- uses: actions/setup-node@v4
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4
1926
with:
20-
node-version: 18
21-
cache: npm
27+
node-version: '20'
28+
cache: 'npm'
2229

2330
- name: Install dependencies
2431
run: npm ci
25-
- name: Build website
32+
33+
- name: Build with Astro
2634
run: npm run build
2735

28-
- name: Upload Build Artifact
36+
- name: Upload artifact
2937
uses: actions/upload-pages-artifact@v3
3038
with:
31-
path: build
39+
path: ./dist
3240

3341
deploy:
34-
name: Deploy to GitHub Pages
3542
needs: build
36-
37-
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
38-
permissions:
39-
pages: write # to deploy to Pages
40-
id-token: write # to verify the deployment originates from an appropriate source
41-
42-
# Deploy to the github-pages environment
43+
runs-on: ubuntu-latest
4344
environment:
4445
name: github-pages
4546
url: ${{ steps.deployment.outputs.page_url }}
46-
47-
runs-on: ubuntu-latest
4847
steps:
4948
- name: Deploy to GitHub Pages
5049
id: deployment
51-
uses: actions/deploy-pages@v4
50+
uses: actions/deploy-pages@v4

.github/workflows/test-deploy.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@ jobs:
1212
name: Test deployment
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
16-
with:
17-
fetch-depth: 0
18-
- uses: actions/setup-node@v4
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
1920
with:
20-
node-version: 18
21-
cache: npm
21+
node-version: '20'
22+
cache: 'npm'
2223

2324
- name: Install dependencies
2425
run: npm ci
25-
- name: Test build website
26+
27+
- name: Test build with Astro
2628
run: npm run build

.gitignore

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
11
# Dependencies
2-
/node_modules
2+
node_modules/
33

4-
# Production
5-
/build
4+
# Build outputs
5+
dist/
6+
.astro/
67

7-
# Generated files
8-
.docusaurus
9-
.cache-loader
8+
# Environment
9+
.env
10+
.env.*
11+
!.env.example
1012

11-
# Misc
13+
# IDE
14+
.vscode/
15+
.idea/
16+
*.swp
17+
*.swo
18+
*~
19+
20+
# OS
1221
.DS_Store
13-
.env.local
14-
.env.development.local
15-
.env.test.local
16-
.env.production.local
22+
Thumbs.db
1723

24+
# Logs
1825
npm-debug.log*
1926
yarn-debug.log*
2027
yarn-error.log*
28+
pnpm-debug.log*
29+
lerna-debug.log*
File renamed without changes.

AGENTS.md

Lines changed: 0 additions & 178 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)