We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f279c1b commit 78980e3Copy full SHA for 78980e3
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,25 @@
1
+name: Deploy Website
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main # adjust if your default branch is different
7
8
+jobs:
9
+ deploy:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v4
15
16
+ - name: Run deploy script on server
17
+ uses: appleboy/ssh-action@v1.0.3
18
+ with:
19
+ host: ${{ secrets.SERVER_HOST }}
20
+ username: ${{ secrets.SERVER_USER }}
21
+ key: ${{ secrets.SERVER_SSH_KEY }}
22
+ port: ${{ secrets.SERVER_PORT }}
23
+ script: |
24
+ cd ~
25
+ sh pull_majnet.sh
0 commit comments