diff --git a/.github/workflows/preview.yaml b/.github/workflows/preview.yaml index 98add9adf8..8d49e4bd81 100644 --- a/.github/workflows/preview.yaml +++ b/.github/workflows/preview.yaml @@ -1,5 +1,4 @@ -name: Deploy PR previews - +name: Deploy PR preview on: pull_request: types: @@ -18,7 +17,8 @@ jobs: - uses: actions/checkout@v4 - name: Add url - run: echo 'site_url: https://minbzk.github.io/Algoritmekader/pr-preview/pr-${{github.event.number}}' >> mkdocs.yml + run: | + echo "site_url: https://minbzk.github.io/Algoritmekader/pr-preview/pr-${{github.event.number}}" >> mkdocs.yml - uses: actions/setup-python@v5 if: github.event.action != 'closed' @@ -32,7 +32,7 @@ jobs: - name: build preview if: github.event.action != 'closed' - run: mkdocs build }} + run: mkdocs build - uses: actions/upload-artifact@v4 if: github.event.action != 'closed'