mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-11-22 22:02:40 +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,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
|
||||
Reference in new issue
Block a user