trying out deployments
Some checks failed
Build and Deploy Zola Site / build (push) Failing after 1m2s
Some checks failed
Build and Deploy Zola Site / build (push) Failing after 1m2s
This commit is contained in:
17
.gitea/workflows/deploy.yml
Normal file
17
.gitea/workflows/deploy.yml
Normal 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
3
.gitmodules
vendored
@@ -1,3 +1,6 @@
|
||||
[submodule "src/themes/terminus"]
|
||||
path = src/themes/terminus
|
||||
url = https://github.com/ebkalderon/terminus.git
|
||||
[submodule "src/content/resume"]
|
||||
path = src/content/resume
|
||||
url = https://git.rbitton.com/rbitton/Resume.git
|
||||
|
13
Dockerfile
13
Dockerfile
@@ -2,10 +2,21 @@ FROM alpine:3.20 AS builder
|
||||
|
||||
RUN echo "@community https://dl-cdn.alpinelinux.org/alpine/v3.20/community" \
|
||||
>> /etc/apk/repositories && \
|
||||
apk add --no-cache zola
|
||||
apk add --no-cache zola git
|
||||
|
||||
WORKDIR /site
|
||||
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
|
||||
|
||||
FROM nginx:alpine
|
||||
|
@@ -9,6 +9,7 @@ build_search_index = false
|
||||
|
||||
theme = "terminus"
|
||||
title = "Raphael Bitton"
|
||||
author = "Raphael Bitton"
|
||||
|
||||
[markdown]
|
||||
# Whether to do syntax highlighting
|
||||
@@ -17,3 +18,12 @@ highlight_code = false
|
||||
|
||||
[extra]
|
||||
# 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"
|
||||
|
@@ -1,4 +1,8 @@
|
||||
+++
|
||||
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.
|
||||
|
Reference in New Issue
Block a user