mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-11-21 21:44:44 +03:00
GitHub Pages support
This commit is contained in:
1 parent
760c36a89a
commit
1e28e827ce
3 files changed
+7
-34
No files matched your search
@@ -1,25 +0,0 @@
|
||||
name: 🛠️ Deployment / self-hosting
|
||||
description: Installation, configuration, upgrades, containers, or Kubernetes.
|
||||
title: "[deploy] <short summary>"
|
||||
labels: ["type:deploy", "scope:self-hosted"]
|
||||
body:
|
||||
- type: dropdown
|
||||
id: method
|
||||
attributes:
|
||||
label: Install method
|
||||
options: [Docker, Source, GitHub Pages, Vercel, Other]
|
||||
validations: { required: true }
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: App image/tag or chart version
|
||||
- type: textarea
|
||||
id: env
|
||||
attributes:
|
||||
label: Platform details
|
||||
placeholder: OS/distro, CPU/RAM, storage, container runtime, ingress, proxy.
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Startup/runtime logs
|
||||
render: shell
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Deploy to GitHub Pages
|
||||
name: 🐙 Deploy to GitHub Pages
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -8,15 +8,10 @@ on:
|
||||
required: false
|
||||
default: '/networking-toolbox'
|
||||
type: string
|
||||
target_branch:
|
||||
description: 'Target branch for deployment'
|
||||
required: false
|
||||
default: 'gh-pages'
|
||||
type: string
|
||||
node_version:
|
||||
description: 'Node.js version'
|
||||
required: false
|
||||
default: '18'
|
||||
default: '22'
|
||||
type: string
|
||||
deploy_env:
|
||||
description: 'Deployment environment'
|
||||
@@ -43,6 +38,9 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Configure Pages
|
||||
uses: actions/configure-pages@v5
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
@@ -72,4 +70,4 @@ jobs:
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
uses: actions/deploy-pages@v4
|
||||
+1
-1
@@ -32,7 +32,7 @@ function getAdapter() {
|
||||
case 'static':
|
||||
return adapterStatic({
|
||||
strict: false,
|
||||
fallback: '404.html',
|
||||
fallback: 'index.html',
|
||||
});
|
||||
case 'auto':
|
||||
return adapterAuto();
|
||||
|
||||
Reference in new issue
Block a user