Skip to content

Commit

Permalink
Update gh-pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihturan authored May 3, 2024
1 parent 7459ccc commit b125d1b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}/"

0 comments on commit b125d1b

Please sign in to comment.