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:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
workflow_dispatch: # manual trigger — handy while you're wiring this up
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-copy:
|
build-and-deploy:
|
||||||
runs-on: self-hosted # must match a LABEL on your runner (see below)
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build
|
- name: Setup Node.js
|
||||||
run: |
|
uses: actions/setup-node@v4
|
||||||
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
|
|
||||||
with:
|
with:
|
||||||
server: 192.168.x.x # LAN IP of the box running your FTP server
|
node-version: "22"
|
||||||
username: ${{ secrets.FTP_USER }}
|
|
||||||
password: ${{ secrets.FTP_PASS }}
|
- name: Verify build (locally)
|
||||||
local-dir: dist/ # where your build output lands
|
run: |
|
||||||
remote-dir: /public_html/site/ # target dir on the FTP server
|
npm ci --no-audit --no-fund
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
#
|
||||||
|
|||||||
+2
-4
@@ -1,7 +1,5 @@
|
|||||||
import type { NextConfig } from "next";
|
import type { NextConfig } from "next";
|
||||||
|
|
||||||
const nextConfig: NextConfig = {
|
// next.config.ts
|
||||||
/* config options here */
|
const nextConfig: NextConfig = {};
|
||||||
};
|
|
||||||
|
|
||||||
export default nextConfig;
|
export default nextConfig;
|
||||||
|
|||||||
Generated
+4
-4
@@ -853,8 +853,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
|
resolution: {integrity: sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==}
|
||||||
engines: {node: '>= 0.4'}
|
engines: {node: '>= 0.4'}
|
||||||
|
|
||||||
electron-to-chromium@1.5.411:
|
electron-to-chromium@1.5.412:
|
||||||
resolution: {integrity: sha512-gglkxzokjHfawpGxq75XdBV2/l3BAPzrsMs70qgaZdTW5rpV1tC4MdgJVP9fN126bODA4ZJQkn1wryEzJyQXIg==}
|
resolution: {integrity: sha512-z4rMe3esBzlzovKHj4gxJnsCGZRK5l4baUvm+gCGJBPE+gsyUMKsuU9tnEUtI1dOebXz1ytAPGjvXhmQ7rIPwA==}
|
||||||
|
|
||||||
emoji-regex@9.2.2:
|
emoji-regex@9.2.2:
|
||||||
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
|
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
|
||||||
@@ -2490,7 +2490,7 @@ snapshots:
|
|||||||
dependencies:
|
dependencies:
|
||||||
baseline-browser-mapping: 2.11.16
|
baseline-browser-mapping: 2.11.16
|
||||||
caniuse-lite: 1.0.30001809
|
caniuse-lite: 1.0.30001809
|
||||||
electron-to-chromium: 1.5.411
|
electron-to-chromium: 1.5.412
|
||||||
node-releases: 2.0.53
|
node-releases: 2.0.53
|
||||||
update-browserslist-db: 1.3.1(browserslist@4.28.8)
|
update-browserslist-db: 1.3.1(browserslist@4.28.8)
|
||||||
|
|
||||||
@@ -2595,7 +2595,7 @@ snapshots:
|
|||||||
es-errors: 1.3.0
|
es-errors: 1.3.0
|
||||||
gopd: 1.2.0
|
gopd: 1.2.0
|
||||||
|
|
||||||
electron-to-chromium@1.5.411: {}
|
electron-to-chromium@1.5.412: {}
|
||||||
|
|
||||||
emoji-regex@9.2.2: {}
|
emoji-regex@9.2.2: {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user