fix(Docker Image): output SSR site when in docker
This commit is contained in:
parent
07255c57a0
commit
2f0eeecb9e
2 changed files with 2 additions and 0 deletions
1
.github/workflows/docker-image.yml
vendored
1
.github/workflows/docker-image.yml
vendored
|
@ -14,6 +14,7 @@ env:
|
|||
REGISTRY: ghcr.io
|
||||
# github.repository as <account>/<repo>
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
DOCKER: true
|
||||
|
||||
jobs:
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ import icon from "astro-icon";
|
|||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: import.meta.env.DOCKER ? 'server' : 'static',
|
||||
site: "https://aria.coffee",
|
||||
integrations: [preact(), tailwind(), icon()],
|
||||
image: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue