Skip to content

Preview at surge.sh is broken #335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Noordsestern opened this issue Mar 10, 2025 · 0 comments
Open

Preview at surge.sh is broken #335

Noordsestern opened this issue Mar 10, 2025 · 0 comments

Comments

@Noordsestern
Copy link
Member

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:
{}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant