Merge pull request #24 from airchains-network/development #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Auto Deploy Airchains Docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Repository | |
| uses: actions/checkout@v3 | |
| - name: Deploy to Server | |
| uses: appleboy/ssh-action@master | |
| with: | |
| host: 148.113.38.220 | |
| username: ubuntu | |
| key: ${{ secrets.DEPLOY_SSH_KEY }} | |
| script: | | |
| echo "🚀 Starting remote deployment..." | |
| chmod +x /home/ubuntu/deploy.sh | |
| /home/ubuntu/deploy.sh | |
| echo "✅ Deployment complete!" |