ci: use the public Rickub API host
4d22dea parent: ef902ea modified
.github/workflows/release.yml +3 -1 | @@ -96,7 +96,9 @@ jobs: | ||
| 96 | 96 | GH_TOKEN: ${{ github.token }} |
| 97 | 97 | TAG: ${{ steps.release.outputs.tag }} |
| 98 | 98 | run: | |
| 99 | - export GH_HOST="${GITHUB_SERVER_URL#https://}" | |
| 99 | + # Rickub runners expose an internal GITHUB_SERVER_URL alias that is | |
| 100 | + # not reachable by `gh` from the job container. Use the public host. | |
| 101 | + export GH_HOST=rickub.com | |
| 100 | 102 | assets=( |
| 101 | 103 | dist/clonim-linux-x86_64.tar.gz |
| 102 | 104 | dist/clonim-linux-x86_64.tar.gz.sha256 |
| @@ -96,7 +96,9 @@ jobs: | |||
| 96 | GH_TOKEN: ${{ github.token }} | 96 | GH_TOKEN: ${{ github.token }} |
| 97 | TAG: ${{ steps.release.outputs.tag }} | 97 | TAG: ${{ steps.release.outputs.tag }} |
| 98 | run: | | 98 | run: | |
| 99 | - export GH_HOST="${GITHUB_SERVER_URL#https://}" | 99 | + # Rickub runners expose an internal GITHUB_SERVER_URL alias that is |
| 100 | + # not reachable by `gh` from the job container. Use the public host. | ||
| 101 | + export GH_HOST=rickub.com | ||
| 100 | assets=( | 102 | assets=( |
| 101 | dist/clonim-linux-x86_64.tar.gz | 103 | dist/clonim-linux-x86_64.tar.gz |
| 102 | dist/clonim-linux-x86_64.tar.gz.sha256 | 104 | dist/clonim-linux-x86_64.tar.gz.sha256 |