Skip to content

Commit

Permalink
feat: build demo
Browse files Browse the repository at this point in the history
  • Loading branch information
alkoleft committed Dec 19, 2024
1 parent 5d92b93 commit 564ce5c
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 8,382 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Сборка Demo

on:
push:
branches:
- master

jobs:
deploy:
name: Сборка документации
runs-on: ubuntu-latest

steps:
- name: Извлечение исходников
uses: actions/checkout@v4

- name: Установка NodeJS
uses: actions/setup-node@v3
with:
node-version: 18
cache: yarn
cache-dependency-path: 'documentation/yarn.lock'

- name: Установка зависимостей
run: yarn install --frozen-lockfile

- name: Сборка сайта с документацией
run: yarn build

- name: Публикация на GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
destination_dir: demo
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com
Loading

0 comments on commit 564ce5c

Please sign in to comment.