refactor: перенос docusaurus в корень, так как больше ничего не планируется в этой репе держать
This commit is contained in:
+4
-4
@@ -47,24 +47,24 @@ runs:
|
||||
- name: Copy docs into Docusaurus
|
||||
shell: bash
|
||||
run: |
|
||||
DOCUSAURUS_DIR="${{ github.action_path }}/docusaurus"
|
||||
DOCUSAURUS_DIR="${{ github.action_path }}"
|
||||
rm -rf "${DOCUSAURUS_DIR}/docs"
|
||||
cp -r "${{ inputs.docs-path }}" "${DOCUSAURUS_DIR}/docs"
|
||||
cp "${{ github.workspace }}/.docuservix.yml" "${DOCUSAURUS_DIR}"
|
||||
|
||||
- name: Prepare docs
|
||||
shell: bash
|
||||
working-directory: ${{ github.action_path }}/docusaurus
|
||||
working-directory: ${{ github.action_path }}
|
||||
run: node scripts/prepare-docs.mjs
|
||||
|
||||
- name: Install Docusaurus dependencies
|
||||
shell: bash
|
||||
working-directory: ${{ github.action_path }}/docusaurus
|
||||
working-directory: ${{ github.action_path }}
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Build docs
|
||||
shell: bash
|
||||
working-directory: ${{ github.action_path }}/docusaurus
|
||||
working-directory: ${{ github.action_path }}
|
||||
env:
|
||||
DOCUSERVIX_ON_BROKEN_LINKS: ${{ inputs.on-broken-links }}
|
||||
DOCUSERVIX_URL: ${{ env.TARGET_URL }}
|
||||
|
||||
Reference in New Issue
Block a user