GitHub Pages Deployment Error on Forks
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- github-actions
- 領域
- ci-cd
調査の方向性
.github/workflows/build-and-deploy.yml から始めて、Deploy to GitHub pages job を調査します。特に、fork に対してどのように動作するかを確認してください。リンクされている失敗した Actions の実行を確認し、404 の条件を確定します。fork のコミットが、Pages が有効になっていないために失敗する Pages deployment を試行しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Any fork of this repository upon each commit attempts to publish a GitHub Pages site of the changes being made to the repository, and then fails to do so. I am unfortunately less familiar with GitHub actions than I would like to be so I am unsure if this is even something that can be avoided. But it would be very nice if it could. The error messages involved can be viewed here as an example and are shown below as well:
Deploy to GitHub pages
Error: Failed to create deployment (status: 404) with build version 13ce6651d0d00a7d4a855f3d2f03d7d756f9f0e3. Request ID A001:748CB:4D81E55:4F0C036:69733936 Ensure GitHub Pages has been enabled: https://github.com/Les-Wet/gb-asm-tutorial/settings/pages
HttpError: Not Found
at /home/runner/work/_actions/actions/deploy-pages/v4/node_modules/@octokit/request/dist-node/index.js:124:1
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at createPagesDeployment (/home/runner/work/_actions/actions/deploy-pages/v4/src/internal/api-client.js:125:1)
at Deployment.create (/home/runner/work/_actions/actions/deploy-pages/v4/src/internal/deployment.js:74:1)
at main (/home/runner/work/_actions/actions/deploy-pages/v4/src/index.js:30:1)
Is there maybe some kind of conditional statement we could add to build_and_deploy.yaml to not run this action if running on a fork?
- 主要言語
- Assembly
- スター
- 179
- フォーク
- 64
- 平均マージ
- 7日 22時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
gbdev/gb-asm-tutorial のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
gbdev/gb-asm-tutorial#194 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
gbdev/gb-asm-tutorial#184 · コメント 1 件 ·
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
gbdev/gb-asm-tutorial#141 · コメント 2 件 · リアクション 2 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
gbdev/gb-asm-tutorial#109 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
gbdev/gb-asm-tutorial#183 ·
gbdev/gb-asm-tutorial の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
oblt-aw/detector/security
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
trailofbits/skills#330 ·
-
Bug kind/engineering pulumi/pulumi-external Workflow Failure
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
pulumi/pulumi-external#733 ·