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 4f00c3c commit f547693Copy full SHA for f547693
.github/workflows/deploy.yml
@@ -25,14 +25,16 @@ jobs:
25
env:
26
CI: true
27
- name: Running remote SSH commands
28
- uses: JimCronqvist/action-ssh@master
+ uses: appleboy/ssh-action@master
29
with:
30
- hosts: ${{ secrets.HOST }}
31
- privatekey: ${{ secrets.SSHKEY }}
32
- command: |
33
- cd ~/www/lugnitdgp.github.io
+ host: ${{ secrets.HOST }}
+ username: ${{ secrets.USERNAME }}
+ password: ${{ secrets.PASSWORD }}
+ port: ${{ secrets.PORT }}
34
+ script: |
35
+ cd /home/glugwebsite/lugnitdgp.github.io
36
git checkout prod
37
git pull origin prod
- sudo docker-compose up -d --build
38
+ npm run build
39
cd ~
40
sudo systemctl restart nginx
0 commit comments