Skip to content

Commit 360b57a

Browse files
PwnTipsclaude
andcommitted
๐Ÿš€ Add VuePress site with GitHub Pages deployment
- Convert Jekyll site to VuePress v2 - Add H1 titles to all blog posts - Configure GitHub Actions for automated deployment - Set up proper asset management and styling - Ready for deployment to GitHub Pages ๐Ÿค– Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2b524db commit 360b57a

105 files changed

Lines changed: 32439 additions & 258 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Deploy VuePress site to Pages
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
25+
- name: Setup Node
26+
uses: actions/setup-node@v4
27+
with:
28+
node-version: 18
29+
cache: npm
30+
- name: Setup Pages
31+
uses: actions/configure-pages@v4
32+
- name: Install dependencies
33+
run: npm ci
34+
- name: Build with VuePress
35+
run: npm run docs:build
36+
- name: Upload artifact
37+
uses: actions/upload-pages-artifact@v3
38+
with:
39+
path: docs/.vuepress/dist
40+
41+
deploy:
42+
environment:
43+
name: github-pages
44+
url: ${{ steps.deployment.outputs.page_url }}
45+
needs: build
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: Deploy to GitHub Pages
49+
id: deployment
50+
uses: actions/deploy-pages@v4

โ€Ž.gitignoreโ€Ž

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,41 @@
1+
# Jekyll files (keep for reference)
12
_site
23
.sass-cache
34
.jekyll-cache
45
.jekyll-metadata
56
vendor
7+
_posts
8+
9+
# VuePress temp files
10+
docs/.vuepress/.cache/
11+
docs/.vuepress/.temp/
12+
docs/.vuepress/dist/
13+
14+
# Dependencies
15+
node_modules/
16+
package-lock.json
17+
18+
# OS generated files
19+
.DS_Store
20+
.DS_Store?
21+
._*
22+
.Spotlight-V100
23+
.Trashes
24+
ehthumbs.db
25+
Thumbs.db
26+
nul
27+
28+
# IDE files
29+
.vscode/
30+
.idea/
631
.obsidian
32+
33+
# Test results
34+
test-results/
35+
playwright-report/
36+
37+
# Logs
38+
*.log
39+
npm-debug.log*
40+
yarn-debug.log*
41+
yarn-error.log*

โ€Ž404.htmlโ€Ž

Lines changed: 0 additions & 25 deletions
This file was deleted.

โ€ŽGemfileโ€Ž

Lines changed: 0 additions & 41 deletions
This file was deleted.

โ€ŽGemfile.lockโ€Ž

Lines changed: 0 additions & 96 deletions
This file was deleted.

โ€Ž_config.ymlโ€Ž

Lines changed: 0 additions & 81 deletions
This file was deleted.

โ€Žabout.markdownโ€Ž

Lines changed: 0 additions & 9 deletions
This file was deleted.

โ€Ždocs/.vuepress/config.jsโ€Ž

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { defaultTheme } from '@vuepress/theme-default'
2+
import { defineUserConfig } from 'vuepress'
3+
import { viteBundler } from '@vuepress/bundler-vite'
4+
5+
export default defineUserConfig({
6+
title: 'PWN-Tips',
7+
description: 'ไธ€ไบ›็ฌ”่ฎฐ',
8+
base: '/', // Root path for user/organization GitHub Pages
9+
bundler: viteBundler(),
10+
theme: defaultTheme({
11+
navbar: [],
12+
sidebar: 'heading',
13+
sidebarDepth: 3,
14+
editLink: false,
15+
lastUpdated: false,
16+
contributors: false,
17+
}),
18+
})
6.59 KB
2.91 KB

0 commit comments

Comments
ย (0)