mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-11-24 08:52:18 +02:00
WF тестовой документации En
This commit is contained in:
parent
6be4f22e91
commit
1de33930e5
40
.github/workflows/docs_deploy_test_en.yml
vendored
Normal file
40
.github/workflows/docs_deploy_test_en.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: Документация | Развернуть на Neocities (EN, тестовый)
|
||||
|
||||
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/en/md ./docs/docusaurus/docs
|
||||
cd ./docs/docusaurus
|
||||
yarn build
|
||||
|
||||
- name: Развертывание на neocities
|
||||
uses: jonchang/deploy-neocities@e557d8b4aa935cd3e1a437c038bb043c9b4064f6
|
||||
with:
|
||||
key: ${{ secrets.NEOCITIES_API_TOKEN_TEST }}
|
||||
dir: ./docs/docusaurus/build
|
||||
clean: false
|
Loading…
Reference in New Issue
Block a user