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 2d9e2fa commit 5ea6804Copy full SHA for 5ea6804
.github/workflows/main.yml
@@ -0,0 +1,19 @@
1
+name: Deploy
2
+on: [workflow_dispatch]
3
+jobs:
4
+ build:
5
+ runs-on: ubuntu-latest
6
+ steps:
7
+ - name: Pull
8
+ uses: appleboy/ssh-actions@v0.1.10
9
+ with:
10
+ host: ${{ secrets.HOSTNAME }}
11
+ username: ${{ secrets.USERNAME }}
12
+ key: ${{ secrets.KEY }}
13
+ port: ${{ secrets.PORT }}
14
+ script: |
15
+ git checkout ${{ github.sha }}
16
+ npm i
17
+ npm run build
18
+ npm run start
19
+
0 commit comments