Skip to content

Commit 064f633

Browse files
committed
chore(core): restore deploy-ftp workflow as a valid option for cPanel hosting
1 parent efc0eae commit 064f633

6 files changed

Lines changed: 57 additions & 5 deletions

File tree

.biomeignore

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

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Setup pnpm
2222
uses: pnpm/action-setup@v4
2323
with:
24-
version: 9
24+
version: 10.33.0
2525

2626
- name: Install Dependencies
2727
run: pnpm install --frozen-lockfile

.github/workflows/deploy-ftp.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy via FTP
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Change this to your deployment branch if needed
7+
8+
jobs:
9+
web-deploy:
10+
name: 🎉 Deploy
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: 🚚 Get latest code
14+
uses: actions/checkout@v4
15+
16+
- name: ⚙️ Setup Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 20
20+
21+
- name: 📦 Setup pnpm
22+
uses: pnpm/action-setup@v3
23+
with:
24+
version: 9
25+
26+
- name: 📥 Install Dependencies
27+
run: pnpm install --frozen-lockfile
28+
29+
- name: 🏗️ Build Project
30+
run: pnpm run build
31+
32+
# Uncomment the block below and set up GitHub Secrets to enable FTP deployment
33+
#
34+
# - name: 🚀 Sync files to FTP
35+
# uses: SamKirkland/FTP-Deploy-Action@v4.3.5
36+
# with:
37+
# server: ${{ secrets.FTP_SERVER }}
38+
# username: ${{ secrets.FTP_USERNAME }}
39+
# password: ${{ secrets.FTP_PASSWORD }}
40+
# local-dir: ./dist/ # The build output directory
41+
# server-dir: /public_html/ # Change to your server's public directory
42+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[input removed due to failed tool call]

biome.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,17 @@
8080
"organizeImports": "on"
8181
}
8282
}
83-
}
83+
},
84+
"overrides": [
85+
{
86+
"includes": ["src/routeTree.gen.ts"],
87+
"linter": {
88+
"rules": {
89+
"suspicious": {
90+
"noExplicitAny": "off"
91+
}
92+
}
93+
}
94+
}
95+
]
8496
}

src/routeTree.gen.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const IndexLazyRoute = IndexLazyRouteImport.update({
1818
id: '/',
1919
path: '/',
2020
getParentRoute: () => rootRouteImport,
21-
// biome-ignore lint/suspicious/noExplicitAny: Auto-generated by TanStack Router
2221
} as any).lazy(() => import('./routes/index.lazy').then((d) => d.Route));
2322

2423
export interface FileRoutesByFullPath {

0 commit comments

Comments
 (0)