Skip to content

Commit 3363dd8

Browse files
committed
Change the repository and branch that cleanup-pr-docs.yml writes to
1 parent 68448a2 commit 3363dd8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
- name: Checkout gh-pages branch
1414
uses: actions/checkout@v4
1515
with:
16-
repository: ${{ github.repository }}
17-
ref: gh-pages
18-
token: ${{ secrets.GITHUB_TOKEN }}
16+
repository: TorchJD/documentation
17+
ref: main
18+
ssh-key: ${{ secrets.DOCUMENTATION_DEPLOY_KEY }}
1919
path: gh-pages
2020

2121
- name: Remove PR documentation for closed PR
@@ -31,4 +31,4 @@ jobs:
3131
git config user.email "github-actions@github.com"
3232
git add .
3333
git commit -m "Cleanup documentation for closed PR #${{ github.event.number }}" || echo "No changes to commit"
34-
git push origin HEAD:gh-pages
34+
git push origin HEAD:main

0 commit comments

Comments
 (0)