Skip to content

wtf

wtf #3

Workflow file for this run

name: Deploy
on: [push]
jobs:
deploy:
if: github.ref == 'refs/heads/master'
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- name: Run server update script
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_IP }}
port: ${{ secrets.SERVER_PORT }}
username: ${{ secrets.SERVER_USER }}
password: ${{ secrets.SERVER_PASSWORD }}
script: cd ${{ secrets.SERVER_PROJECT_PATH }} && pwd && whoami && ls && npm run update