Update test.yml #18
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |