Skip to content

Commit e6d3a2e

Browse files
committed
feat: github action for demo.
1 parent 0d0a213 commit e6d3a2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and Deploy Demo
33
on:
44
push:
55
branches:
6-
- main # Укажите ветку, которую хотите использовать для деплоя
6+
- main
77

88
jobs:
99
build-and-deploy:
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Node.js
1717
uses: actions/setup-node@v3
1818
with:
19-
node-version: 18 # Укажите версию Node.js
19+
node-version: 22
2020

2121
- name: Install dependencies
2222
run: npm install
@@ -28,4 +28,4 @@ jobs:
2828
uses: peaceiris/actions-gh-pages@v3
2929
with:
3030
github_token: ${{ secrets.ACTION }}
31-
publish_dir: dist/demo # Укажите папку с собранными файлами
31+
publish_dir: dist/demo

0 commit comments

Comments
 (0)