Skip to content

Update test.yml

Update test.yml #18

Workflow file for this run

name: Deploy
on:
push:
branches: [ "master" ]
repository_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
environment: deploy
steps:
- name: Checkout
uses: actions/checkout@master
- name: Deploy to server
if: ${{ !env.ACT }}
uses: appleboy/[email protected]
with:
host: ${{ vars.DEPLOY_HOST }}
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SSH_DEPLOY_KEY }}
script: |
cd ${{ vars.PROJECT_PATH }}
make update