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.
2 parents dfcaf31 + 0c79434 commit 28c6b83Copy full SHA for 28c6b83
.github/scripts/deploy
@@ -0,0 +1,8 @@
1
+#!/bin/sh
2
+
3
+# Deploys the User Guide to the production
4
+# website. Triggered by updates to the GitHub
5
+# repo's master branch.
6
7
+cd "$REPO_DIRECTORY"
8
+git pull
.github/workflows/deploy.yml
@@ -0,0 +1,22 @@
+# website whenever master branch is updated
+name: Deploy Production
+on:
+ push:
+ branches:
+ - master
9
10
+jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ - name: executing remote ssh commands using ssh key
16
+ uses: appleboy/ssh-action@master
17
+ with:
18
+ host: ${{ secrets.HOST }}
19
+ username: ${{ secrets.USERNAME }}
20
+ key: ${{ secrets.KEY }}
21
+ port: ${{ secrets.PORT }}
22
+ script: ~/userguide/.github/scripts/deploy
0 commit comments