fix: Fix up some stuff
Some checks failed
Build and Push Docker Image / Build (push) Failing after 18s
Build and Push Docker Image / Package (push) Has been skipped

This commit is contained in:
Jan K9f 2025-09-10 12:29:24 +02:00
commit effa4e4cf7
Signed by: jank
GPG key ID: 22BEAC760B3333D6
3 changed files with 6 additions and 6 deletions

View file

@ -24,8 +24,8 @@ jobs:
- name: Archive production artifacts - name: Archive production artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: dist name: build/client
path: dist path: build/client
package: package:
name: Package name: Package
needs: build needs: build
@ -36,8 +36,8 @@ jobs:
- name: Download build artifacts - name: Download build artifacts
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with: with:
name: dist name: build/client
path: dist path: build/client
- name: Build and push docker image - name: Build and push docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:

View file

@ -1,4 +1,4 @@
FROM nginx:stable-alpine FROM nginx:stable-alpine
COPY dist /usr/share/nginx/html COPY build/client /usr/share/nginx/html
EXPOSE 80 EXPOSE 80
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]

View file

@ -3,5 +3,5 @@ import type { Config } from "@react-router/dev/config";
export default { export default {
// Config options... // Config options...
// Server-side render by default, to enable SPA mode set this to `false` // Server-side render by default, to enable SPA mode set this to `false`
ssr: true, ssr: false,
} satisfies Config; } satisfies Config;