blob: ddb7058fcd37dc366f0fb0ec3e362c8c0184a098 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Deploy
uses: appleboy/ssh-action@cc051b07ed0666619f6ea5703319edf00d06be13
with:
key: ${{ secrets.SSH_KEY }}
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
port: ${{ secrets.SSH_PORT }}
script: |
cd nsfisis.dev
git pull origin main
git submodule update --init
make clean
make deploy
|