Skip to content

Commit dc5dc6b

Browse files
committed
Move Astro files to astro/ subdirectory for ASP.NET Core hosting
1 parent 91551e5 commit dc5dc6b

419 files changed

Lines changed: 85 additions & 75 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/link-checker.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ jobs:
2929
with:
3030
node-version: 22
3131
- name: Run build
32+
working-directory: astro
3233
run: |
33-
echo $PWD
34+
npm ci
3435
./build.sh
3536
- name: Link Checker
3637
uses: lycheeverse/lychee-action@v2
3738
env:
3839
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
3940
with:
40-
args: "--header 'x-origin-verify: ${{ secrets.ORIGIN_VERIFICATION_HEADER_VALUE }}' --no-progress --max-concurrency 8 --skip-missing --accept 200,429 --exclude-path root/_llms-txt --exclude-path root/llms.txt --exclude-path root/llms-full.txt --exclude-path root/llms-small.txt --exclude-loopback --require-https --exclude sample.duendesoftware.com --exclude \"docs.duendesoftware.com/404\" --exclude sitemap --exclude \"https://github.com/DuendeArchive/IdentityModel.AspNetCore/\" --root-dir \"$PWD/root\" root/**"
41+
args: '--header ''x-origin-verify: ${{ secrets.ORIGIN_VERIFICATION_HEADER_VALUE }}'' --no-progress --max-concurrency 8 --skip-missing --accept 200,429 --exclude-path astro/root/_llms-txt --exclude-path astro/root/llms.txt --exclude-path astro/root/llms-full.txt --exclude-path astro/root/llms-small.txt --exclude-loopback --require-https --exclude sample.duendesoftware.com --exclude "docs.duendesoftware.com/404" --exclude sitemap --exclude "https://github.com/DuendeArchive/IdentityModel.AspNetCore/" --root-dir "$PWD/astro/root" astro/root/**'
4142
fail: true

.gitignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# build output
2-
dist/
3-
root/
1+
# Astro build output
2+
astro/dist/
3+
astro/root/
44
# generated types
5-
.astro/
5+
astro/.astro/
66

77
# dependencies
88
node_modules/

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
FROM node:22-alpine AS astro-builder
33

44
WORKDIR /app
5-
COPY package.json package-lock.json ./
5+
COPY astro/package.json astro/package-lock.json ./
66
RUN npm ci
7-
COPY . .
7+
COPY astro/ .
88
RUN chmod +x build.sh && ./build.sh
99

1010
# Stage 2: Build ASP.NET Core server

README.md

Lines changed: 75 additions & 66 deletions
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)