Skip to content

Commit 5db7dc5

Browse files
committed
Remove markdown examples and package-lock.json
- Deleted markdown-examples.md file containing VitePress markdown syntax demonstrations - Removed package-lock.json to clean up repository dependencies - Simplifies project structure and removes unnecessary example documentation
1 parent eab4df6 commit 5db7dc5

File tree

4 files changed

+1464
-1611
lines changed

4 files changed

+1464
-1611
lines changed

.github/workflows/deploy.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
deploy:
10+
name: Deploy
11+
runs-on: ubuntu-latest
12+
if: github.repository == 'refly-ai/refly-docs'
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 2
18+
19+
- uses: pnpm/action-setup@v4
20+
with:
21+
run_install: false
22+
23+
- name: Use Node.js
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: 20
27+
cache: 'pnpm'
28+
29+
- name: Install dependencies
30+
run: pnpm install
31+
32+
- name: Build
33+
run: pnpm build
34+
35+
- name: Deploy to Cloudflare Pages
36+
uses: cloudflare/[email protected]
37+
with:
38+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
39+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
40+
projectName: refly-docs
41+
branch: main
42+
workingDirectory: .
43+
directory: .vitepress/dist

markdown-examples.md

-85
This file was deleted.

0 commit comments

Comments
 (0)