Skip to content

updated package to 1.0.0 #37

updated package to 1.0.0

updated package to 1.0.0 #37

Workflow file for this run

name: Deploy to Mac
on:
push:
branches: [ main ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Test SSH Connection
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.DEPLOYMENT_MAC_IP }}
username: ${{ secrets.DEPLOYMENT_MAC_USER }}
key: ${{ secrets.PRAVEEN_MAC_SSH_KEY }}
script: |
echo "✅ SSH Connection Successful"
uname -a # Check system details
ls -lah # List files for debugging
- name: Deploy via SSH
uses: appleboy/ssh-action@v1
with:
host: ${{ secrets.DEPLOYMENT_MAC_IP }}
username: ${{ secrets.DEPLOYMENT_MAC_USER }}
key: ${{ secrets.PRAVEEN_MAC_SSH_KEY }}
script: |
cd path/to/your/repo # Update this path!
git pull origin main
docker-compose down
docker-compose up -d --build