Skip to content

Commit

Permalink
Modify page_url output with an override
Browse files Browse the repository at this point in the history
  • Loading branch information
lina-kim committed May 29, 2024
1 parent eb4fbb3 commit c085597
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
url: ${{ steps.chnage-page-url.outputs.new_page_url }}
runs-on: ubuntu-latest
needs: build
steps:
Expand All @@ -65,3 +65,6 @@ jobs:
uses: actions/deploy-pages@v4
with:
publish_dir: docs/_site
- name: Override page_url
id: change-page-url
run: echo "new_page_url"=${{ steps.deployment.outpus.page_url }}docs/" >> $GITHUB_OUTPUT

0 comments on commit c085597

Please sign in to comment.