robotframework / robotframework/robotframework.github.com

Preview at surge.sh is broken

Open
#335 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
83
Forks
85
PR merge metrics
No merged PRs in 30d

Description

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:
{}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the pipeline preview step that invokes afc163/surge-preview@v1 and review the failed deployment log showing an invalid token; no workflow filename is provided. Determine whether the preview job can be restored or should be removed or replaced, then verify the pipeline no longer fails and the intended preview behavior is clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.