Skip to content

add video link support to projects and automate conversion of image a… #4

add video link support to projects and automate conversion of image a…

add video link support to projects and automate conversion of image a… #4

Workflow file for this run

name: Deploy Portfolio
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Install dependencies
run: uv pip install --system -r requirements.txt
- name: Generate portfolio HTML
run: python generate_portfolio_modified.py
- name: Verify build output
run: |
echo "Generated files:"
ls -la *.html
ls -la posts/*.html
echo "Sitemap:"
head -5 sitemap.xml
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: .
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4