From 48682ad474f73ade52004be039a1fccde4b00fab Mon Sep 17 00:00:00 2001 From: Qjuh <76154676+Qjuh@users.noreply.github.com> Date: Wed, 31 Jul 2024 21:56:54 +0200 Subject: [PATCH] ci: fix docs source url on tag push (#10398) --- .github/workflows/documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 2ae3c5d10..4d6886c80 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -75,7 +75,7 @@ jobs: - name: Apply tag to api-extractor config if: ${{ env.REF_TYPE == 'tag' && !inputs.ref }} - run: sed -i 's!https://github.com/discordjs/discord.js/tree/main!https://github.com/discordjs/discord.js/tree/${{ steps.extract-tag.outputs.semver }}!' "packages/${{ steps.extract-tag.outputs.package}}/api-extractor.json" + run: sed -i 's!https://github.com/discordjs/discord.js/tree/main!https://github.com/discordjs/discord.js/tree/${{ github.ref_name }}!' "packages/${{ steps.extract-tag.outputs.package}}/api-extractor.json" - name: Build docs run: pnpm run docs