|
34 | 34 | restore-keys: | |
35 | 35 | latex-apt-${{ runner.os }}-${{ runner.arch }}-ubuntu-24.04- |
36 | 36 | latex-apt-${{ runner.os }}-${{ runner.arch }}- |
| 37 | + lookup-only: true |
37 | 38 |
|
38 | 39 | - name: Download LaTeX packages (cache miss only) |
39 | 40 | if: steps.cache-latex-apt.outputs.cache-hit != 'true' |
|
47 | 48 | # Ensure downloaded packages are owned by the current user so they can be cached |
48 | 49 | sudo chown -R $(id -u):$(id -g) ${{ runner.temp }}/.cache/archives |
49 | 50 |
|
| 51 | + - name: Save LaTeX apt cache (cache miss only) |
| 52 | + if: steps.cache-latex-apt.outputs.cache-hit != 'true' |
| 53 | + uses: actions/cache/save@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 |
| 54 | + with: |
| 55 | + path: ${{ runner.temp }}/.cache/archives |
| 56 | + key: latex-apt-${{ runner.os }}-${{ runner.arch }}-ubuntu-24.04-texlive-2023 |
| 57 | + |
50 | 58 | build: |
51 | 59 | name: Build ${{ matrix.manual.name }} |
52 | 60 | runs-on: ubuntu-latest |
@@ -410,7 +418,7 @@ jobs: |
410 | 418 | deploy: |
411 | 419 | name: Deploy documentation for gh-pages |
412 | 420 | needs: stage-and-check |
413 | | - if: github.event_name == 'push' |
| 421 | + if: always() |
414 | 422 | runs-on: ubuntu-latest |
415 | 423 |
|
416 | 424 | permissions: |
@@ -495,14 +503,17 @@ jobs: |
495 | 503 | if: steps.apply.outputs.has_changes == 'true' |
496 | 504 | with: |
497 | 505 | token: ${{ secrets.COMMAND_BOT_PAT }} |
498 | | - commit-message: "chore: update documentation for ${{ needs.stage-and-check.outputs.branch_name }}" |
| 506 | + commit-message: "chore: update documentation for `${{ needs.stage-and-check.outputs.branch_name }}`" |
499 | 507 | committer: nextcloud-command <nextcloud-command@users.noreply.github.com> |
500 | 508 | author: nextcloud-command <nextcloud-command@users.noreply.github.com> |
501 | 509 | signoff: true |
502 | 510 | branch: "automated/deploy/documentation-${{ needs.stage-and-check.outputs.branch_name }}" |
503 | 511 | base: gh-pages |
504 | | - title: "Documentation update for ${{ needs.stage-and-check.outputs.branch_name }}" |
505 | | - body: "Automated documentation update from branch ${{ github.ref_name }}" |
| 512 | + title: "Documentation update for `${{ needs.stage-and-check.outputs.branch_name }}`" |
| 513 | + body: | |
| 514 | + This PR was automatically generated by the CI workflow and |
| 515 | + includes the latest changes for the `${{ needs.stage-and-check.outputs.branch_name }}` branch. |
| 516 | +
|
506 | 517 | delete-branch: true |
507 | 518 | labels: "automated, 3. to review" |
508 | 519 |
|
|
0 commit comments