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 }}/"