Skip to content

Commit

Permalink
fix CSS generation
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Nov 21, 2024
1 parent c8314f9 commit d9fc9a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:

- run: pip install -r requirements.txt

- run: python build.py
- run: |
python build.py
pygmentize -S paraiso-dark -f html > public/pygments.css
- name: Setup Pages
uses: actions/configure-pages@v5
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ WORKDIR /app

# Copy the requirements (if you have one) and install them
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt && \
pygmentize -S paraiso-dark -f html > public/pygments.css
RUN pip install --no-cache-dir -r requirements.txt

# Copy the rest of the application code
COPY . .
Expand Down

0 comments on commit d9fc9a2

Please sign in to comment.