GitHub Pages Deployment Error on Forks
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 55/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- github-actions
- Lĩnh vực
- ci-cd
Hướng nghiên cứu
Bắt đầu với .github/workflows/build-and-deploy.yml và kiểm tra job Deploy to GitHub pages, đặc biệt là cách nó hoạt động đối với các fork. Xem lại lần chạy Actions bị lỗi được liên kết để xác nhận điều kiện 404. Được xem là hoàn tất khi các commit từ fork không còn cố gắng thực hiện deployment Pages bị lỗi vì Pages chưa được bật.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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?
- Ngôn ngữ chính
- Assembly
- Star
- 179
- Fork
- 64
- Merge trung bình
- 7 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 1
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của gbdev/gb-asm-tutorial
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
gbdev/gb-asm-tutorial#194 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
gbdev/gb-asm-tutorial#184 · 1 bình luận ·
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
gbdev/gb-asm-tutorial#141 · 2 bình luận · 2 reaction ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
gbdev/gb-asm-tutorial#109 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
gbdev/gb-asm-tutorial#183 ·
Tất cả issue của gbdev/gb-asm-tutorial
Issue tương tự
-
task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
vsanthanam/JBird#429 ·
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
alexgorbatchev/simple-ptt#14 ·
-
github-request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
openedx/axim-engineering#1758 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
components-web-app/docs#92 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100