1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-25 02:42:28 +02:00
OpenIntegrations/.github/workflows/docs_deploy_test_ru.yml

41 lines
892 B
YAML
Raw Normal View History

2024-06-21 07:42:42 +02:00
name: Документация | Развернуть на Neocities (RU, тестовый)
2024-06-20 09:33:25 +02:00
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
2024-07-10 11:29:20 +02:00
uses: bcomnes/deploy-to-neocities@v2
2024-06-20 09:33:25 +02:00
with:
2024-07-10 11:29:20 +02:00
api_token: ${{ secrets.NEOCITIES_API_TOKEN_TEST }}
2024-07-10 11:29:31 +02:00
cleanup: true
2024-07-10 11:29:20 +02:00
dist_dir: ./docs/docusaurus/build