Skip to content

Commit 3095e69

Browse files
committed
Remove gh-pages folder from the path to which cleanup-pr-docs.yml writes
1 parent 3363dd8 commit 3095e69

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/cleanup-pr-docs.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,14 @@ jobs:
1616
repository: TorchJD/documentation
1717
ref: main
1818
ssh-key: ${{ secrets.DOCUMENTATION_DEPLOY_KEY }}
19-
path: gh-pages
2019

2120
- name: Remove PR documentation for closed PR
2221
run: |
2322
PR_NUMBER="${{ github.event.number }}"
2423
echo "Removing documentation for PR #${PR_NUMBER}"
25-
rm -rf gh-pages/pr/${PR_NUMBER}
24+
rm -rf pr/${PR_NUMBER}
2625
2726
- name: Commit and push cleanup
28-
working-directory: gh-pages
2927
run: |
3028
git config user.name "github-actions"
3129
git config user.email "github-actions@github.com"

0 commit comments

Comments
 (0)