There was an error while loading. Please reload this page.
1 parent 0d13863 commit 3a495aaCopy full SHA for 3a495aa
1 file changed
.github/workflows/deploy.yml
@@ -0,0 +1,18 @@
1
+name: CI
2
+
3
+on: [push]
4
5
+jobs:
6
+ deploy:
7
+ if: github.ref == 'refs/heads/master'
8
+ runs-on: [ubuntu-latest]
9
+ steps:
10
+ - uses: actions/checkout@v1
11
+ - name: Push to server
12
+ uses: appleboy/ssh-action@master
13
+ with:
14
+ host: ${{ secrets.SSH_HOST }}
15
+ username: ${{ secrets.SSH_USER }}
16
+ password: ${{ secrets.SSH_PASS }}
17
+ port: ${{ secrets.SSH_PORT }}
18
+ script: cd pythonchile.cl && source ../env/bin/activate && pip install -r requirements && cp -r output/* ../beta/
0 commit comments