Add layouts, Tailwind pipeline, CI/CD workflows, and resume content

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
emil
2026-04-30 00:53:24 +03:00
co-authored by Claude Sonnet 4.6
parent 71b1117e9d
commit c1c64b8345
23 changed files with 552 additions and 10 deletions
+42 -1
View File
@@ -1 +1,42 @@
['main ]\n pull_request:\n branches: [ main ]\n\njobs:\n build:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout repository\n uses: actions/checkout@v4\n\n - name: Set up Node.js\n uses: actions/setup-node@v4\n with:\n node-version: \'20\'\n\n - name: Install dependencies\n run: npm ci\n\n - name: Install markdownlint and HTMLHint\n run: npm install -D markdownlint-cli htmlhint\n\n - name: Lint markdown files\n run: npx markdownlint "**/*.md" --config .markdownlint.json || echo "No markdownlint config – skipping"\n\n - name: Lint generated HTML (if any)\n run: npx htmlhint "**/public/**/*.html" || echo "No HTML to lint yet"\n\n - name: Build CSS\n run: npm run build:css\n\n - name: Build site with Hugo\n run: npm run build\n\n - name: Verify Hugo output exists\n run: |\n if [ ! -d "public']
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Install markdownlint and HTMLHint
run: npm install -D markdownlint-cli htmlhint
- name: Lint markdown files
run: npx markdownlint "**/*.md" --config .markdownlint.json || echo "No markdownlint config – skipping"
- name: Lint generated HTML (if any)
run: npx htmlhint "**/public/**/*.html" || echo "No HTML to lint yet"
- name: Build CSS
run: npm run build:css
- name: Build site with Hugo
run: npm run build
- name: Verify Hugo output exists
run: |
if [ ! -d "public" ]; then
echo "public/ not found"
exit 1
fi
+38 -1
View File
@@ -1 +1,38 @@
["main ] # Build on pushes to main\n\njobs:\n build-deploy:\n runs-on: ubuntu-latest\n steps:\n - name: Checkout repository\n uses: actions/checkout@v4\n\n - name: Setup Hugo\n uses: peaceiris/actions-hugo@v2\n with:\n hugo-version: 'latest'\n\n - name: Set up Node.js for Tailwindcss\n uses: actions/setup-node@v4\n with:\n node-version: '20'\n\n - name: Install dependencies\n run: npm install\n\n - name: Build CSS asset\n run: npm run build:css\n\n - name: Build Hugo site\n run: hugo --minify\n\n - name: Deploy to GitHub Pages\n uses: peaceiris/actions-gh-pages@v3\n with:\n github_pages_branch: gh-pages\n keep_files: false\n force_orphan: true\n commit_message: Deploy Hugo site"]
on:
push:
branches: [main]
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
- name: Set up Node.js for Tailwindcss
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Build CSS asset
run: npm run build:css
- name: Build Hugo site
run: hugo --minify
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_pages_branch: gh-pages
keep_files: false
force_orphan: true
commit_message: Deploy Hugo site