Skip to content

Commit 4c78bb9

Browse files
committed
Revert changes in RTD link workflow
1 parent 427f861 commit 4c78bb9

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed
Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
name: Dashboard PR preview
1+
name: Read the Docs PR preview
22
# Automatically edits a pull request's descriptions with a link
3-
# to the GitHub pages PR preview.
3+
# to the documentation's preview on Read the Docs.
44

55
on:
66
pull_request_target:
77
types:
88
- opened
9-
- reopened
109

1110
permissions:
1211
pull-requests: write
@@ -19,11 +18,7 @@ jobs:
1918
documentation-links:
2019
runs-on: ubuntu-latest
2120
steps:
22-
- uses: chabroA/action-append-pr-description@v1.2.1
21+
- uses: readthedocs/actions/preview@v1
2322
with:
24-
auth: ${{ secrets.GITHUB_TOKEN }}
25-
repo: ${{ github.event.repository.name }}
26-
owner: ${{ github.repository_owner }}
27-
pr: ${{ github.event.number }}
28-
url: "https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/${{ github.ref_name }}"
29-
message: "📊 Dashboard preview:"
23+
project-slug: "pydocs-translation-dashboard"
24+
single-version: "true"

0 commit comments

Comments
 (0)