robotframework / robotframework/robotframework.github.com

Preview at surge.sh is broken

未关闭
#335 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
HTML
星标
83
派生
85
PR 合并指标
30 天内没有已合并 PR

描述

We have a preview step in our pipelines that seems to deploy a website-preview on surge.sh. However, the deployment fails due to invalid token (see error log).

We should either, fix surge.sh token, drop the preview job or find an alternative.

Run afc163/surge-preview@v1
Found PR number: 334, PR status: opened
RUN: echo "Has build already"
/usr/bin/echo Has build already
Has build already
Build time: 0.011 seconds
Deploy to robotframework-robotframework-github-com-preview-pr-334.surge.sh
/usr/local/bin/npx surge ./docs robotframework-robotframework-github-com-preview-pr-334.surge.sh --token ***
npm warn exec The following package was not found and will be installed: surge@0.24.6
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v[9](https://github.com/robotframework/robotframework.github.com/actions/runs/13761157742/job/38477393710#step:4:10) are no longer supported
npm warn deprecated rimraf@2.7.1: Rimraf versions prior to v4 are no longer supported
npm warn deprecated har-validator@5.1.5: this library is no longer supported
npm warn deprecated fstream@1.0.[12](https://github.com/robotframework/robotframework.github.com/actions/runs/13761157742/job/38477393710#step:4:13): This package is no longer supported.
npm warn deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm warn deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3[14](https://github.com/robotframework/robotframework.github.com/actions/runs/13761157742/job/38477393710#step:4:15)2

   Invalid token

error message:
{}

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

检查调用 afc163/surge-preview@v1 的管道预览步骤,并查看显示令牌无效的失败部署日志;未提供 workflow 文件名。确定预览作业是否可以恢复,或者是否应将其删除或替换,然后验证管道不再失败,并且预期的预览行为清晰明确。

由索引模型根据 Issue 内容生成。

评估

技术栈
github-actions
领域
ci-cd
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。