feat: добавление docusaurus #1
+3
-3
@@ -42,7 +42,7 @@ runs:
|
||||
- name: Copy docs into Docusaurus
|
||||
shell: bash
|
||||
run: |
|
||||
DOCUSAURUS_DIR="${{ github.action_path }}docusaurus"
|
||||
DOCUSAURUS_DIR="${{ github.action_path }}/docusaurus"
|
||||
rm -rf "${DOCUSAURUS_DIR}/docs"
|
||||
cp -r "${{ inputs.docs-path }}" "${DOCUSAURUS_DIR}/docs"
|
||||
cp "${{ github.workspace }}/.docuservix.yml" "${DOCUSAURUS_DIR}"
|
||||
@@ -50,12 +50,12 @@ runs:
|
||||
|
||||
- name: Install Docusaurus dependencies
|
||||
shell: bash
|
||||
working-directory: ${{ github.action_path }}docusaurus
|
||||
working-directory: ${{ github.action_path }}/docusaurus
|
||||
run: yarn install --frozen-lockfile
|
||||
|
||||
- name: Build docs
|
||||
shell: bash
|
||||
working-directory: ${{ github.action_path }}docusaurus
|
||||
working-directory: ${{ github.action_path }}/docusaurus
|
||||
run: yarn docusaurus build --out-dir ${{ github.workspace }}/generated-docs
|
||||
|
||||
- name: Upload to S3
|
||||
|
||||
Reference in New Issue
Block a user