Skip to content

Commit bf0abee

Browse files
committed
chore: use react-devui.com
1 parent a06e2a3 commit bf0abee

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,16 @@ jobs:
4646
cache: 'yarn'
4747
- run: yarn install --frozen-lockfile
4848
- run: yarn nx build site --configuration=production --skip-nx-cache
49+
- uses: garygrossgarten/github-action-scp@release
50+
with:
51+
local: './dist/packages/site'
52+
remote: '/var/www/react-devui.com'
53+
host: ${{ secrets.SSH_HOST }}
54+
port: ${{ secrets.SSH_PORT }}
55+
username: ${{ secrets.SSH_USER }}
56+
password: ${{ secrets.SSH_PASSWORD }}
57+
rmRemote: true
58+
dotfiles: true
4959
- run: cp ./dist/packages/site/index.html ./dist/packages/site/200.html
5060
- uses: dswistowski/surge-sh-action@v1
5161
with:
@@ -67,6 +77,16 @@ jobs:
6777
cache: 'yarn'
6878
- run: yarn install --frozen-lockfile
6979
- run: yarn nx build platform --configuration=production --skip-nx-cache
80+
- uses: garygrossgarten/github-action-scp@release
81+
with:
82+
local: './dist/packages/platform'
83+
remote: '/var/www/admin.react-devui.com'
84+
host: ${{ secrets.SSH_HOST }}
85+
port: ${{ secrets.SSH_PORT }}
86+
username: ${{ secrets.SSH_USER }}
87+
password: ${{ secrets.SSH_PASSWORD }}
88+
rmRemote: true
89+
dotfiles: true
7090
- run: cp ./dist/packages/platform/index.html ./dist/packages/platform/200.html
7191
- uses: dswistowski/surge-sh-action@v1
7292
with:

packages/site/src/app/components/footer/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export function AppFooter(props: React.HTMLAttributes<HTMLDivElement>): JSX.Elem
1010
<footer {...props} className={getClassName(props.className, 'app-footer')}>
1111
<div className="app-footer__col">
1212
<div className="app-footer__col-title">{t('footer.Resources')}</div>
13-
<a href="https://rd-platform.surge.sh" target="_blank" rel="noreferrer">
13+
<a href="https://admin.react-devui.com" target="_blank" rel="noreferrer">
1414
RD-Platform
1515
</a>
1616
<a href="https://devui.design" target="_blank" rel="noreferrer">

0 commit comments

Comments
 (0)