1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-23 02:06:12 +02:00
OpenIntegrations/.github/workflows/docs_deploy_test_ru.yml
2024-07-10 12:14:14 +03:00

41 lines
882 B
YAML

name: Документация | Развернуть на Neocities (RU, тестовый)
on:
workflow_dispatch:
concurrency:
group: deploy-to-neocities
cancel-in-progress: true
jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Установка зависимостей
run: |
cd ./docs/docusaurus
npm install
- name: Сборка
run: |
cp -r ./docs/ru/md ./docs/docusaurus/docs
cd ./docs/docusaurus
yarn build
- name: Развертывание на neocities
uses: jonchang/deploy-neocities@latest
with:
key: ${{ secrets.NEOCITIES_API_TOKEN_TEST }}
dir: ./docs/docusaurus/build
clean: false