We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1a5fd6d + 150c90d commit c8e6089Copy full SHA for c8e6089
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,26 @@
1
+name: Auto Deploy Airchains Docs
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout Repository
14
+ uses: actions/checkout@v3
15
16
+ - name: Deploy to Server
17
+ uses: appleboy/ssh-action@master
18
+ with:
19
+ host: 148.113.38.220
20
+ username: ubuntu
21
+ key: ${{ secrets.DEPLOY_SSH_KEY }}
22
+ script: |
23
+ echo "🚀 Starting remote deployment..."
24
+ chmod +x /home/ubuntu/deploy.sh
25
+ /home/ubuntu/deploy.sh
26
+ echo "✅ Deployment complete!"
0 commit comments