robotframework / robotframework/robotframework.github.com

Preview at surge.sh is broken

オープン
#335 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

afc163/surge-preview@v1 を呼び出しているパイプラインのプレビュー手順を調査し、無効なトークンを示している失敗したデプロイのログを確認してください。workflow のファイル名は提供されていません。プレビュージョブを復元できるか、削除または置き換えるべきかを判断し、その後、パイプラインが失敗しなくなったことと、意図したプレビューの動作が明確であることを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github-actions
領域
ci-cd
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。