Skip to content

Commit f50b9b3

Browse files
authored
Merge pull request #1 from justinbarias/feature/holodeckSite
feat: add BaseLayout and index page for HoloDeck website
2 parents ff32210 + 5dd32fd commit f50b9b3

File tree

14 files changed

+58499
-0
lines changed

14 files changed

+58499
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Checkout repository
18+
uses: actions/checkout@v5
19+
20+
- name: Install & build site
21+
uses: withastro/action@v5
22+
23+
deploy:
24+
needs: build
25+
runs-on: ubuntu-latest
26+
environment:
27+
name: github-pages
28+
url: ${{ steps.deployment.outputs.page_url }}
29+
steps:
30+
- name: Deploy to GitHub Pages
31+
id: deployment
32+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
22+
23+
# jetbrains setting folder
24+
.idea/

.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# HoloDeck Website
2+
3+
Astro-powered landing page for **HoloDeck**, deployed to GitHub Pages.
4+
5+
## Quickstart
6+
7+
```bash
8+
# scaffolded with: npm create astro@latest holodeck-site
9+
npm install
10+
npm run dev
11+
```
12+
13+
## Build & Deploy
14+
15+
```bash
16+
npm run build
17+
```
18+
19+
The GitHub Actions workflow at `.github/workflows/deploy.yml` builds and deploys to GitHub Pages on pushes to `main`.
20+
21+
## Configuration
22+
23+
Update `astro.config.mjs` with your GitHub username:
24+
25+
```js
26+
export default defineConfig({
27+
site: "https://<YOUR_USERNAME>.github.io",
28+
base: "/holodeck-site",
29+
});
30+
```
31+
32+
Repo is ready for Pages; adjust `withastro/action` options in the workflow if your project layout changes.

astro.config.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { defineConfig } from "astro/config";
2+
3+
export default defineConfig({
4+
site: "https://justinbarias.github.io",
5+
base: "/holodeck-site",
6+
});

0 commit comments

Comments
 (0)