-
-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support: self-hosted runner publishes directory with weird prefix #740
Comments
@peaceiris any insights here? Happy to help diagnose. |
started getting that with ForceOrphan: true |
Thanks @pavlovp for commenting. Specifically which part since there are several potential issues / symptoms here? |
My github actions pipeline:
Logs (actions tab): Run peaceiris/actions-gh-pages@v3.8.0 Setup auth token I'm wondering what cause this weird undefined/actions_github_pages_xxx folder to be created - when I navigate in the browser using this suffix I'm able to access the web app that is hosted in my github pages env. |
@peaceiris hoping to catch your eye here, especially since this would be great to get fixed in the next major release. The issue is that content is deployed to a directory like I'm having this issue using a self-hosted runner and @pavlovp experienced this issue when setting |
@peaceiris any updates on this issue? I haven't tested with |
I seem to have the same problem, everything seems to work fine when running actions runner with nohup, when I use supervisor to manage run.sh, I have a similar problem, I don't know if this is the reason for it. Here is my supervisor configuration.
actions:
Guessing it could be because of some missing environment variable? I read the source code and didn't find out what the problem was. Thank you for your prompt response. |
@dhimmel, I've identified what the issue is. If you have configured the GitHub Actions self-hosted runner with the root user, you will encounter the error mentioned above. |
Got the same issues when running on self-hosted runner as root. My workaround was to use containers. I noticed that this has something to do with removing the repository: when root does it, it cleans up using git commands. However, when using containers, it gets fully removed and cloned again. Maybe it'll help somebody. |
This issues seems to be that the env:
HOME: "${{ github.workspace }}/../" |
I recently switched a workflow that includes
peaceiris/actions-gh-pages
to use a self-hosted runner.When using
peaceiris/actions-gh-pages@v3
and when the output branch doesn't already exist, the deploy step succeeded but placed the published data under a prefix, i.e. the output was written toundefined/actions_github_pages_1651252139745/test.json
instead of justtest.json
. Here are links for the workflow, the job log, and output branch. Some key lines of output:When using
peaceiris/actions-gh-pages@main
, I got a failure:When using
peaceiris/actions-gh-pages@v3
but when the output branch already exists, I get:So not sure exactly how to proceed.
Relevant links
Public repository: https://github.com/related-sciences/nxontology-data
YAML config: https://github.com/related-sciences/nxontology-data/blob/6b43ce4927641f43baebc3e077e0c56a32fdf53f/.github/workflows/create.yaml
The text was updated successfully, but these errors were encountered: