diff --git a/.github/workflows/deploy-to-brainpod.yml b/.github/workflows/deploy-to-brainpod.yml new file mode 100644 index 0000000..00a8c8c --- /dev/null +++ b/.github/workflows/deploy-to-brainpod.yml @@ -0,0 +1,20 @@ +name: Deploy to Brainpod + +on: + push: + branches: ["main", "feat/brainpod-integration"] + tags: ["v*"] + +jobs: + build: + runs-on: ubuntu-24.04 + permissions: + contents: read + steps: + - uses: actions/checkout@v5 + + - name: Build and push + uses: brainhivenl/steiger-action@v1 + with: + cmd: build + args: --repo=registry.brainpod.io/grapes-cross diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..0c50b64 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +FROM denoland/deno:latest AS builder + +WORKDIR /app + +COPY . . + +RUN deno task build + +FROM joseluisq/static-web-server:2-debian + +COPY --from=builder /app/_site ./public diff --git a/steiger.yml b/steiger.yml new file mode 100644 index 0000000..6973cb4 --- /dev/null +++ b/steiger.yml @@ -0,0 +1,4 @@ +build: + docs: + type: docker + context: .