Skip to content
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
0271768
Merge pull request #2 from JARVIS-discordbot/main
BenCos17 Dec 23, 2025
51d4ccf
Merge pull request #3 from JARVIS-discordbot/main
BenCos17 Dec 23, 2025
38024dc
Update deploy.yml
BenCos17 Dec 23, 2025
52e78a6
Update deploy.yml
BenCos17 Dec 23, 2025
d90fa2d
Update deploy.yml
BenCos17 Dec 23, 2025
8253f27
Update deploy.yml
BenCos17 Dec 23, 2025
fec4e96
Update deploy.yml
BenCos17 Dec 23, 2025
27b535c
Update deploy.yml
BenCos17 Dec 23, 2025
bb10cae
Update deploy.yml
BenCos17 Dec 23, 2025
35527d9
Update deploy.yml
BenCos17 Dec 23, 2025
7d5a7aa
Update deploy.yml
BenCos17 Dec 23, 2025
87dc0be
Update deploy.yml
BenCos17 Dec 23, 2025
d52e71d
Update deploy.yml
BenCos17 Dec 23, 2025
42b35eb
Merge pull request #4 from JARVIS-discordbot/main
BenCos17 Dec 23, 2025
3d8564b
Merge pull request #5 from JARVIS-discordbot/main
BenCos17 Dec 23, 2025
c3ad060
Update deploy.yml
BenCos17 Dec 23, 2025
42c72e8
Merge pull request #6 from JARVIS-discordbot/main
BenCos17 May 29, 2026
2cfe35c
Update deploy.yml
BenCos17 May 29, 2026
832c8b6
Update deploy.yml
BenCos17 May 29, 2026
abcd7f0
Update deploy.yml
BenCos17 May 29, 2026
76b7995
Merge pull request #7 from JARVIS-discordbot/main
BenCos17 May 29, 2026
b232b79
Merge pull request #8 from JARVIS-discordbot/main
BenCos17 May 29, 2026
83fbceb
Merge pull request #9 from JARVIS-discordbot/main
BenCos17 May 29, 2026
107a872
Merge pull request #10 from JARVIS-discordbot/main
BenCos17 May 29, 2026
a787e44
Merge pull request #11 from JARVIS-discordbot/main
BenCos17 May 29, 2026
372e94d
Merge pull request #12 from JARVIS-discordbot/main
BenCos17 May 29, 2026
d6b3fe3
Merge pull request #13 from JARVIS-discordbot/main
BenCos17 May 29, 2026
07506c3
Merge pull request #14 from JARVIS-discordbot/main
BenCos17 May 29, 2026
4d64f20
Merge pull request #15 from JARVIS-discordbot/main
BenCos17 Jun 6, 2026
8f1b5ef
Merge pull request #16 from JARVIS-discordbot/main
BenCos17 Jun 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Deploy landing.html
name: Push to Production

on:
push:
branches:
- Production # match your branch name exactly
- Production

jobs:
deploy:
Expand All @@ -22,17 +22,23 @@ jobs:
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H ${{ secrets.DEPLOY_SERVER_IP }} >> ~/.ssh/known_hosts

- name: Test SSH connection
# Step 1: Deploy Landing Page
- name: Deploy to Landing Directory
run: |
ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER_IP }} "echo SSH connection OK"
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER_IP }} \
"mkdir -p /var/www/jarvislandingpage"

- name: Deploy index.html as landing.html
rsync -avz -e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" \
./index.html ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER_IP }}:/var/www/jarvislandingpage/landing.html

# Step 2: Deploy Clusters Dashboard
# Assuming you have a separate file for the clusters page in your repo
- name: Deploy to Clusters Directory
run: |
# Ensure the target directory exists on the server
ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER_IP }} "mkdir -p /var/www/jarvislandingpage"
${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER_IP }} \
"mkdir -p /var/www/clusters"

# Copy index.html from repo root to landing.html on the server
scp -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no \
./index.html ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER_IP }}:/var/www/jarvislandingpage/landing.html
rsync -avz -e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=no" \
./clusters.html ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_SERVER_IP }}:/var/www/clusters/index.html
Loading