Skip to content

Commit

Permalink
Try to prevent overwriting checkout in GitHub Pages workflow (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
bumbummen99 authored Dec 4, 2024
1 parent fd2b811 commit 1697c56
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,10 @@ jobs:
- name: Download current README
uses: actions/checkout@v4
with:
sparse-checkout: |
README.md
sparse-checkout-cone-mode: false
path: ../source

- name: Update GitHub Pages index from README
run: mv README.md index.md
run: cp ../source/README.md index.md

- name: Commit & Push GitHub Pages
uses: EndBug/add-and-commit@v9
Expand Down

0 comments on commit 1697c56

Please sign in to comment.