mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
auto-deploy on master
This commit is contained in:
18
.github/workflows/deploy.yml
vendored
Normal file
18
.github/workflows/deploy.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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 }}
|
||||
key: ${{ secrets.SERVER_SSH_KEY }}
|
||||
script: |
|
||||
/home/ob/.local/bin/s
|
||||
Reference in New Issue
Block a user