Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 66afc93

Browse files
chore(ci): use auto pr ref in rustdoc-preview workflow
1 parent faf5ca2 commit 66afc93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎.github/workflows/rustdoc-preview.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
uses: actions/checkout@v4
4343
with:
4444
# Check out the PR's branch
45-
ref: ${{ github.event.pull_request.head.ref }}
45+
ref: refs/pull/${{ github.event.issue.number }}/head
4646

4747
- name: Install Rust toolchain
4848
uses: dtolnay/rust-toolchain@nightly
@@ -67,7 +67,7 @@ jobs:
6767
const pr_number = context.issue.number;
6868
const repo = context.repo.repo;
6969
const owner = context.repo.owner;
70-
const url = `https://${owner}.github.io/${repo}/pr-${pr_number}/`;
70+
const url = `https://${owner}.github.io/${repo}/pr-${pr_number}/hyper_util/`;
7171
github.rest.issues.createComment({
7272
issue_number: pr_number,
7373
owner,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /