trying out deployments
Some checks failed
Build and Deploy Zola Site / build (push) Failing after 1m2s

This commit is contained in:
2025-10-09 19:26:45 -05:00
parent 59526558a9
commit 8444821252
5 changed files with 47 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
name: Build and Deploy Zola Site
on:
push:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Build Zola site
run: |
docker compose build
docker compose up -d

3
.gitmodules vendored
View File

@@ -1,3 +1,6 @@
[submodule "src/themes/terminus"] [submodule "src/themes/terminus"]
path = src/themes/terminus path = src/themes/terminus
url = https://github.com/ebkalderon/terminus.git url = https://github.com/ebkalderon/terminus.git
[submodule "src/content/resume"]
path = src/content/resume
url = https://git.rbitton.com/rbitton/Resume.git

View File

@@ -2,10 +2,21 @@ FROM alpine:3.20 AS builder
RUN echo "@community https://dl-cdn.alpinelinux.org/alpine/v3.20/community" \ RUN echo "@community https://dl-cdn.alpinelinux.org/alpine/v3.20/community" \
>> /etc/apk/repositories && \ >> /etc/apk/repositories && \
apk add --no-cache zola apk add --no-cache zola git
WORKDIR /site WORKDIR /site
COPY src/ . COPY src/ .
RUN git clone https://git.rbitton.com/rbitton/Resume.git /tmp/resume && \
mkdir -p static/files && \
mkdir -p content/resume && \
# cp /tmp/resume/RAPHAEL_BITTON.pdf static/files/ && \
sh -c "(printf '+++\n\
title = \"Resume\"\n\
date = 2025-10-09\n\
+++\n\n' && cat /tmp/resume/RAPHAEL_BITTON.md) > content/resume/_index.md"
RUN zola build --force RUN zola build --force
FROM nginx:alpine FROM nginx:alpine

View File

@@ -9,6 +9,7 @@ build_search_index = false
theme = "terminus" theme = "terminus"
title = "Raphael Bitton" title = "Raphael Bitton"
author = "Raphael Bitton"
[markdown] [markdown]
# Whether to do syntax highlighting # Whether to do syntax highlighting
@@ -17,3 +18,12 @@ highlight_code = false
[extra] [extra]
# Put all your custom variables here # Put all your custom variables here
main_menu = [
{ name = "about", url = "about", trailing_slash = true},
{ name = "resume", url = "resume", trailing_slash = true},
{ name = "meditations", url = "meditations", trailing_slash = true},
{ name = "git", url = "https://git.rbitton.com/rbitton", new_tab = true },
{ name = "flights", url = "https://flights.rbitton.com/share/public", new_tab = true },
]
copyright = "© $YEAR $AUTHOR"

View File

@@ -1,4 +1,8 @@
+++ +++
title = "Home" title = "Home"
paginate_by = 5
[extra]
framed = true
+++ +++
Hello! My name is Raphael Bitton and I am an undergraduate at the University of Chicago studying Data Science and Music.