Skip to content

Добавляет тех документацию #15

Добавляет тех документацию

Добавляет тех документацию #15

Workflow file for this run

name: documentation
on:
push:
tags:
- 'v[0-9]+.[0-9]+.0'
branches: [ master ]
permissions:
contents: write
jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./documentation
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependency
run: npm install
- name: Build documentation
run: |
export DOC_INCLUDE_CURRENT_VERSION=false
npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./documentation/build
user_name: gh-pages-bot
user_email: gh-pages-bot@bot.com