Add document How to set up a persistent external symlink on deployment #886
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Detect renamed docs | |
| on: | |
| pull_request: | |
| jobs: | |
| detect_renamed_docs: | |
| runs-on: ubuntu-latest | |
| name: Detect renamed docs | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Get changed files | |
| id: changed_files | |
| run: | | |
| result="$(python3 ci/bin/detect_rewrites.py ${{ github.event.pull_request.base.sha }} ${{github.event.pull_request.head.sha}})" | |
| echo "$result" | |
| echo "CHANGED_FILES<<EOF" >> $GITHUB_OUTPUT | |
| echo "$result" >> $GITHUB_OUTPUT | |
| echo "EOF" >> $GITHUB_OUTPUT | |
| shell: bash | |
| - name: Comment changed files on PR | |
| if: ${{ steps.changed_files.outputs.CHANGED_FILES }} | |
| uses: thollander/actions-comment-pull-request@v1 | |
| with: | |
| message: "${{ steps.changed_files.outputs.CHANGED_FILES }}" |