Skip to content

Commit 2b90e53

Browse files
committed
feat: load Lucide icons dynamically instead of hardcoded list
1 parent 7a3da13 commit 2b90e53

4 files changed

Lines changed: 96 additions & 346 deletions

File tree

.github/workflows/deploy-beta.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
name: Deploy Beta
2-
3-
on:
4-
push:
5-
branches: [beta]
6-
7-
jobs:
8-
deploy:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: SSH and deploy
12-
uses: appleboy/ssh-action@v1.2.0
13-
with:
14-
host: ${{ secrets.SSH_HOST }}
15-
username: ${{ secrets.SSH_USER }}
16-
password: ${{ secrets.SSH_PASSWORD }}
17-
port: ${{ secrets.SSH_PORT || 22 }}
18-
script: |
19-
cd ${{ secrets.BETA_PATH }}
20-
cp .env /tmp/beta.env 2>/dev/null; cp port.txt /tmp/beta.port.txt 2>/dev/null
21-
git fetch origin --prune
22-
git checkout beta
23-
git reset --hard origin/beta
24-
cp /tmp/beta.env .env 2>/dev/null; cp /tmp/beta.port.txt port.txt 2>/dev/null
25-
grep 'discord.zero-host.org' public/js/app.js || echo "⚠ DISCORD LINK NOT FOUND IN FILE"
26-
head -20 port.txt 2>/dev/null || echo "⚠ port.txt missing or empty"
27-
npm install
28-
pm2 restart beta
1+
name: Deploy Beta
2+
3+
on:
4+
push:
5+
branches: [beta]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: SSH and deploy
12+
uses: appleboy/ssh-action@v1.2.0
13+
with:
14+
host: ${{ secrets.SSH_HOST }}
15+
username: ${{ secrets.SSH_USER }}
16+
password: ${{ secrets.SSH_PASSWORD }}
17+
port: ${{ secrets.SSH_PORT || 22 }}
18+
script: |
19+
cd ${{ secrets.BETA_PATH }}
20+
cp .env /tmp/beta.env 2>/dev/null; cp port.txt /tmp/beta.port.txt 2>/dev/null
21+
git fetch origin --prune
22+
git checkout beta
23+
git reset --hard origin/beta
24+
cp /tmp/beta.env .env 2>/dev/null; cp /tmp/beta.port.txt port.txt 2>/dev/null
25+
grep 'discord.zero-host.org' public/js/app.js || echo "⚠ DISCORD LINK NOT FOUND IN FILE"
26+
head -20 port.txt 2>/dev/null || echo "⚠ port.txt missing or empty"
27+
npm install
28+
pm2 restart beta

.github/workflows/deploy-main.yml

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
name: Deploy Main
2-
3-
on:
4-
push:
5-
branches: [main]
6-
7-
jobs:
8-
deploy:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- name: SSH and deploy
12-
uses: appleboy/ssh-action@v1.2.0
13-
with:
14-
host: ${{ secrets.SSH_HOST }}
15-
username: ${{ secrets.SSH_USER }}
16-
password: ${{ secrets.SSH_PASSWORD }}
17-
port: ${{ secrets.SSH_PORT || 22 }}
18-
script: |
19-
cd ${{ secrets.MAIN_PATH }}
20-
cp .env /tmp/main.env 2>/dev/null; cp port.txt /tmp/main.port.txt 2>/dev/null
21-
git fetch origin --prune
22-
git checkout main
23-
git reset --hard origin/main
24-
cp /tmp/main.env .env 2>/dev/null; cp /tmp/main.port.txt port.txt 2>/dev/null
25-
npm install
26-
pm2 restart zerohost-dashboard
1+
name: Deploy Main
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: SSH and deploy
12+
uses: appleboy/ssh-action@v1.2.0
13+
with:
14+
host: ${{ secrets.SSH_HOST }}
15+
username: ${{ secrets.SSH_USER }}
16+
password: ${{ secrets.SSH_PASSWORD }}
17+
port: ${{ secrets.SSH_PORT || 22 }}
18+
script: |
19+
cd ${{ secrets.MAIN_PATH }}
20+
cp .env /tmp/main.env 2>/dev/null; cp port.txt /tmp/main.port.txt 2>/dev/null
21+
git fetch origin --prune
22+
git checkout main
23+
git reset --hard origin/main
24+
cp /tmp/main.env .env 2>/dev/null; cp /tmp/main.port.txt port.txt 2>/dev/null
25+
npm install
26+
pm2 restart zerohost-dashboard

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# Contributing
2-
3-
All pull requests **must** target the `beta` branch.
4-
5-
Any PR targeting `main` directly will be closed without review.
6-
7-
Once changes are validated on `beta`, they are merged into `main` by the maintainers.
1+
# Contributing
2+
3+
All pull requests **must** target the `beta` branch.
4+
5+
Any PR targeting `main` directly will be closed without review.
6+
7+
Once changes are validated on `beta`, they are merged into `main` by the maintainers.

0 commit comments

Comments
 (0)