mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
20 lines
423 B
YAML
20 lines
423 B
YAML
name: Deploy sprint
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Deploy via SSH
|
|
uses: appleboy/ssh-action@v1
|
|
with:
|
|
host: ${{ secrets.SERVER_HOST }}
|
|
username: ${{ secrets.SERVER_USER }}
|
|
port: ${{ secrets.SERVER_PORT }}
|
|
key: ${{ secrets.SERVER_SSH_KEY }}
|
|
script: |
|
|
/home/ob/.local/bin/s
|