Compare commits
1 Commits
main
...
docs-paths
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2102c4cb6 |
7
.github/workflows/documentation.yml
vendored
7
.github/workflows/documentation.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
|||||||
# Deploy to the github-pages environment:
|
# Deploy to the github-pages environment:
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.change-page-url.outputs.new_page_url }}
|
||||||
|
|
||||||
# Specify runner + deployment step:
|
# Specify runner + deployment step:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -48,3 +48,8 @@ jobs:
|
|||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
# Work around the fact that the path cannot be specified with deploy-pages
|
||||||
|
# https://github.com/orgs/community/discussions/37267#discussioncomment-4012060
|
||||||
|
- name: Override page_url
|
||||||
|
id: change-page-url
|
||||||
|
run: echo "new_page_url=${{ steps.deployment.outputs.page_url }}esp-hal/" >> $GITHUB_OUTPUT
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user