Skip to content

Commit

Permalink
fix: script
Browse files Browse the repository at this point in the history
  • Loading branch information
RobotLivermore committed Mar 25, 2024
1 parent ae09192 commit 05dd9a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
repo: context.repo.repo,
});
const siteUrl = new URL(pageObj.data.html_url);
return siteUrl.pathname;
return siteUrl.pathname.replace(/\/$/, "");
- name: Get result
run: echo "${{steps.get-page.outputs.result}}"
- name: Set environment variable
Expand Down

0 comments on commit 05dd9a4

Please sign in to comment.