Closed deejonz closed 1 month ago
👋
Can you share your workflow (or parts of it if it contains sensitive things)?
Also what version of GHES are you running on?
This action is supported on GHES but not all versions of GHES (or of the actions).
Hello @yoannchaudet my workflow is still a hello world workflow:
name: Deploy GitHub Pages
on:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: [ self-hosted ]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v2
- run: |
mkdir test
touch test/test.html
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./test
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: [ self-hosted ]
needs: build
steps:
- run: "echo ${{ steps.deployment.outputs.page_url }}"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
I don't see anything wrong with your workflow, which is promising!
Wondering if you are hitting https://github.com/actions/deploy-pages/issues/185.
Does the branch you run the workflow_dispatch
on contains non ascii characters by any chance?
I believe this is something we have just fixed for GitHub.com but that did not reach GHES yet.
When deploying on github enterprise I get this error. Any idea if this is an issue on GHE or the plugin is not handling this situation? On GHE it seems it's all configured correctly. Thanks.
if I open any of those urls I get this: