From b125d1b859e71470462102a8ba0e9293bc95190c Mon Sep 17 00:00:00 2001 From: Fatih Turan <26871+fatihturan@users.noreply.github.com> Date: Fri, 3 May 2024 20:51:23 +0300 Subject: [PATCH] Update gh-pages.yml --- .github/workflows/gh-pages.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 4c72a91..52387c9 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -11,9 +11,6 @@ on: # Jobs to be executed jobs: deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: @@ -41,3 +38,8 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist # Adjust this path based on your build output + + # Define the URL output + - name: Set URL output + id: deployment + run: echo "::set-output name=page_url::https://${{ github.repository_owner }}.github.io/${{ github.repository_name }}/"