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 77e33fa commit d86f6efCopy full SHA for d86f6ef
.github/workflows/deploy.yml
@@ -0,0 +1,20 @@
1
+name: Deploy CSlant Server
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: self-hosted
10
+ steps:
11
+ - name: Deploy to Remote Host
12
+ uses: appleboy/ssh-action@master
13
+ with:
14
+ host: ${{ secrets.REMOTE_HOST }}
15
+ username: ${{ secrets.REMOTE_USERNAME }}
16
+ password: ${{ secrets.REMOTE_PASS }}
17
+ key: ${{ secrets.SSH_PRIVATE_KEY }}
18
+ port: ${{ secrets.REMOTE_PORT }}
19
+ script: |
20
+ ${{ vars.BLOG_API_RUNNER_COMMAND }}
0 commit comments