feat: добавление docusaurus #1

Merged
arswarog merged 5 commits from docusaurus into master 2026-06-15 10:02:02 +03:00
Showing only changes of commit 574bdfb695 - Show all commits
+3 -3
View File
@@ -42,7 +42,7 @@ runs:
- name: Copy docs into Docusaurus - name: Copy docs into Docusaurus
shell: bash shell: bash
run: | run: |
DOCUSAURUS_DIR="${{ github.action_path }}docusaurus" DOCUSAURUS_DIR="${{ github.action_path }}/docusaurus"
rm -rf "${DOCUSAURUS_DIR}/docs" rm -rf "${DOCUSAURUS_DIR}/docs"
cp -r "${{ inputs.docs-path }}" "${DOCUSAURUS_DIR}/docs" cp -r "${{ inputs.docs-path }}" "${DOCUSAURUS_DIR}/docs"
cp "${{ github.workspace }}/.docuservix.yml" "${DOCUSAURUS_DIR}" cp "${{ github.workspace }}/.docuservix.yml" "${DOCUSAURUS_DIR}"
@@ -50,12 +50,12 @@ runs:
- name: Install Docusaurus dependencies - name: Install Docusaurus dependencies
shell: bash shell: bash
working-directory: ${{ github.action_path }}docusaurus working-directory: ${{ github.action_path }}/docusaurus
run: yarn install --frozen-lockfile run: yarn install --frozen-lockfile
- name: Build docs - name: Build docs
shell: bash shell: bash
working-directory: ${{ github.action_path }}docusaurus working-directory: ${{ github.action_path }}/docusaurus
run: yarn docusaurus build --out-dir ${{ github.workspace }}/generated-docs run: yarn docusaurus build --out-dir ${{ github.workspace }}/generated-docs
- name: Upload to S3 - name: Upload to S3