wip
This commit is contained in:
+3
-3
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user