Skip to content

Commit d7cd07f

Browse files
author
Ajit Kumar
committed
chore(update link name)
1 parent 534abef commit d7cd07f

File tree

3 files changed

+33
-2
lines changed

3 files changed

+33
-2
lines changed

.babelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
}
1313
]
1414
],
15-
"compact": false
15+
"compact": true
1616
}

.github/workflows/deploy.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Update Dev Server
2+
run-name: acode.app/main - ${{ github.run_number }}
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
Deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Deploy
14+
uses: appleboy/ssh-action@master
15+
with:
16+
host: ${{ secrets.SSH_HOST }}
17+
username: ${{ secrets.SSH_USER }}
18+
key: ${{ secrets.SSH_KEY }}
19+
passphrase: ${{ secrets.SSH_PASSPHRASE }}
20+
script: |
21+
export PATH="/home/${{ secrets.SSH_USER }}/.nvm/versions/node/v22.12.0/bin/:$PATH"
22+
if ! command -v git &> /dev/null
23+
then
24+
sudo apt-get update
25+
sudo apt-get install -y git
26+
fi
27+
cd ~/sites/acode.app
28+
git pull
29+
yarn install
30+
yarn build-release
31+
pm2 restart acode.app

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ window.onload = async () => {
2323
{ href: '/plugin-docs', text: 'Plugin Docs' },
2424
{ href: '/plugins', text: 'Plugins' },
2525
{ href: '/user', text: $loginText },
26-
{ href: 'https://foxdebug.com', text: 'Foxdebug' },
26+
{ href: 'https://foxbiz.io', text: 'Foxbiz' },
2727
{ href: '/policy', text: 'Privacy policy' },
2828
{ href: '/terms', text: 'Terms of service' },
2929
]} />;

0 commit comments

Comments
 (0)