Skip to content

Commit

Permalink
fix: fix moving docs to new version folder by moving them (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
mowies authored Sep 7, 2023
1 parent ab7379d commit d9dc053
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
fi
- name: Move old latest release documentation folder
if: ${{steps.folder.outputs.migrate }}
run: cp -R "${{ inputs.page_dir }}${{ inputs.docs_dir }}/content/en/docs/." "${{ inputs.page_dir }}${{ inputs.docs_dir }}/content/en/${{ steps.folder.outputs.migrate }}"
if: ${{ steps.folder.outputs.migrate }}
run: mv -fv "${{ inputs.page_dir }}${{ inputs.docs_dir }}/content/en/docs/." "${{ inputs.page_dir }}${{ inputs.docs_dir }}/content/en/${{ steps.folder.outputs.migrate }}"

- name: Copy configuration
if: ${{steps.folder.outputs.latest }}
if: ${{ steps.folder.outputs.latest }}
run: |
cp -R ./docs/. "${{ inputs.page_dir }}${{ inputs.docs_dir }}"
Expand Down

0 comments on commit d9dc053

Please sign in to comment.