Compare commits
18
Commits
1d460f1a4a
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d90eaa0907 | ||
|
|
c1d9927d90 | ||
|
|
fb02c498a6 | ||
|
|
2a8fd23409 | ||
|
|
fe079ed6fe | ||
|
|
ea76570acc | ||
|
|
75deff7aca | ||
|
|
9ee5ac6e96 | ||
|
|
82f5c079fe | ||
|
|
137bd0225a | ||
|
|
774b07b924 | ||
|
|
869d85de23 | ||
|
|
6ddfba8bf9 | ||
|
|
b2818e5536 | ||
|
|
0ae2054597 | ||
|
|
c9fc22b99d | ||
|
|
ab8d57343c | ||
|
|
c6389aabee |
+13
-15
@@ -4,25 +4,23 @@ on:
|
||||
pull_request:
|
||||
branches: [main]
|
||||
types: [opened, synchronize, reopened]
|
||||
workflow_dispatch: # manual trigger — handy while you're wiring this up
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-copy:
|
||||
runs-on: self-hosted # must match a LABEL on your runner (see below)
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
echo "replace with your actual build command"
|
||||
# e.g. npm ci && npm run build / make all
|
||||
|
||||
- name: Copy build output to FTP server
|
||||
uses: SamKirkland/FTP-Deploy-Action@4.2.0
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
server: 192.168.x.x # LAN IP of the box running your FTP server
|
||||
username: ${{ secrets.FTP_USER }}
|
||||
password: ${{ secrets.FTP_PASS }}
|
||||
local-dir: dist/ # where your build output lands
|
||||
remote-dir: /public_html/site/ # target dir on the FTP server
|
||||
node-version: "22"
|
||||
|
||||
- name: Verify build (locally)
|
||||
run: |
|
||||
npm ci --no-audit --no-fund
|
||||
npm run build
|
||||
|
||||
#
|
||||
|
||||
+2
-4
@@ -1,7 +1,5 @@
|
||||
import type { NextConfig } from "next";
|
||||
|
||||
const nextConfig: NextConfig = {
|
||||
/* config options here */
|
||||
};
|
||||
|
||||
// next.config.ts
|
||||
const nextConfig: NextConfig = {};
|
||||
export default nextConfig;
|
||||
|
||||
Generated
+4
-4
@@ -853,8 +853,8 @@ packages:
|
||||
resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
|
||||
engines: {node: '>= 0.4'}
|
||||
|
||||
electron-to-chromium@1.5.411:
|
||||
resolution: {integrity: sha512-gglkxzokjHfawpGxq75XdBV2/l3BAPzrsMs70qgaZdTW5rpV1tC4MdgJVP9fN126bODA4ZJQkn1wryEzJyQXIg==}
|
||||
electron-to-chromium@1.5.412:
|
||||
resolution: {integrity: sha512-z4rMe3esBzlzovKHj4gxJnsCGZRK5l4baUvm+gCGJBPE+gsyUMKsuU9tnEUtI1dOebXz1ytAPGjvXhmQ7rIPwA==}
|
||||
|
||||
emoji-regex@9.2.2:
|
||||
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
|
||||
@@ -2490,7 +2490,7 @@ snapshots:
|
||||
dependencies:
|
||||
baseline-browser-mapping: 2.11.16
|
||||
caniuse-lite: 1.0.30001809
|
||||
electron-to-chromium: 1.5.411
|
||||
electron-to-chromium: 1.5.412
|
||||
node-releases: 2.0.53
|
||||
update-browserslist-db: 1.3.1(browserslist@4.28.8)
|
||||
|
||||
@@ -2595,7 +2595,7 @@ snapshots:
|
||||
es-errors: 1.3.0
|
||||
gopd: 1.2.0
|
||||
|
||||
electron-to-chromium@1.5.411: {}
|
||||
electron-to-chromium@1.5.412: {}
|
||||
|
||||
emoji-regex@9.2.2: {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user