Skip to content

Commit 2303340

Browse files
committed
Fix custom domain configuration for hylo-lang.org
- Add site URL to astro.config.ts - Move CNAME file to public directory - Simplify GitHub Actions build command
1 parent 957e5ec commit 2303340

File tree

4 files changed

+167
-4
lines changed

4 files changed

+167
-4
lines changed

.github/workflows/astro.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,7 @@ jobs:
5252
run: pnpm install --frozen-lockfile
5353
working-directory: ${{ env.BUILD_PATH }}
5454
- name: Build with Astro
55-
run: |
56-
pnpm astro build \
57-
--site "https://hylo-lang.org" \
58-
--base ""
55+
run: pnpm astro build
5956
working-directory: ${{ env.BUILD_PATH }}
6057
- name: Upload artifact
6158
uses: actions/upload-pages-artifact@v3

.idea/workspace.xml

Lines changed: 165 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

astro.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {compilerRepoLink, slackLink} from "./src/links.ts";
1010

1111
// https://astro.build/config
1212
export default defineConfig({
13+
site: 'https://hylo-lang.org',
1314
integrations: [
1415
starlight({
1516
title: 'Hylo',
File renamed without changes.

0 commit comments

Comments
 (0)