Skip to content

Commit

Permalink
chore(update link name)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajit Kumar committed Jan 13, 2025
1 parent 534abef commit d7cd07f
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
}
]
],
"compact": false
"compact": true
}
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update Dev Server
run-name: acode.app/main - ${{ github.run_number }}
on:
push:
branches:
- main

jobs:
Deploy:
runs-on: ubuntu-latest

steps:
- name: Deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
passphrase: ${{ secrets.SSH_PASSPHRASE }}
script: |
export PATH="/home/${{ secrets.SSH_USER }}/.nvm/versions/node/v22.12.0/bin/:$PATH"
if ! command -v git &> /dev/null
then
sudo apt-get update
sudo apt-get install -y git
fi
cd ~/sites/acode.app
git pull
yarn install
yarn build-release
pm2 restart acode.app
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ window.onload = async () => {
{ href: '/plugin-docs', text: 'Plugin Docs' },
{ href: '/plugins', text: 'Plugins' },
{ href: '/user', text: $loginText },
{ href: 'https://foxdebug.com', text: 'Foxdebug' },
{ href: 'https://foxbiz.io', text: 'Foxbiz' },
{ href: '/policy', text: 'Privacy policy' },
{ href: '/terms', text: 'Terms of service' },
]} />;
Expand Down

0 comments on commit d7cd07f

Please sign in to comment.