Skip to content
This repository was archived by the owner on Apr 25, 2025. It is now read-only.

Commit 4269bf9

Browse files
committed
chore: added site redirect
1 parent 114d3ab commit 4269bf9

File tree

2 files changed

+10
-22
lines changed

2 files changed

+10
-22
lines changed

.github/workflows/node.js.yml

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -28,30 +28,11 @@ jobs:
2828
build:
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@master
32-
- uses: actions/setup-node@master
33-
with:
34-
node-version: "20"
35-
- uses: webfactory/[email protected]
36-
with:
37-
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
38-
- run: npm i
39-
- name: Install Playwright Browsers
40-
run: npx playwright install --with-deps
41-
- run: npm run build:ci
42-
env:
43-
BROWSERSTACK_USER: ${{ secrets.BROWSERSTACK_USERNAME }}
44-
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
45-
BROWSERSTACK_PROJECT_NAME: "CoreUI"
46-
BUILD_NUMBER: CI
47-
REPO_SLUG: ebay/ebayui-core
48-
- uses: coverallsapp/github-action@master
49-
if: ${{ success() }}
50-
with:
51-
github-token: ${{ secrets.GITHUB_TOKEN }}
52-
path-to-lcov: coverage/lcov.info
5331
- name: Upload artifact
5432
uses: actions/upload-pages-artifact@v3
33+
with:
34+
path: _site-new
35+
5536

5637
# Deployment job
5738
deploy:
@@ -70,6 +51,8 @@ jobs:
7051
runs-on: ubuntu-latest
7152
needs: [build]
7253
steps:
54+
- name: Deploy to _site
55+
run: npm deploy
7356
- name: Deploy to GitHub Pages
7457
id: deployment
7558
uses: actions/deploy-pages@v4

_site-new/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<!DOCTYPE html>
2+
<meta charset="utf-8">
3+
<title>Redirecting to https://opensource.ebay.com/evo-web/ebayui-core</title>
4+
<meta http-equiv="refresh" content="0; URL=https://opensource.ebay.com/evo-web/ebayui-core/">
5+
<link rel="canonical" href="https://opensource.ebay.com/evo-web/ebayui-core/">

0 commit comments

Comments
 (0)