Skip to content

ci rework

ci rework #1

Workflow file for this run

on:
push:
branches:
- main
pull_request:
branches:
- "**"
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: will-lynas/[email protected]
deploy:
needs: test
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
steps:
- uses: will-lynas/[email protected]
with:
host: ${{ secrets.VPS_HOST }}
username: ${{ secrets.VPS_USER }}
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}