0
.github/workflows/push
vendored
0
.github/workflows/push
vendored
17
.github/workflows/push.yml
vendored
Normal file
17
.github/workflows/push.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
name: Clone or pull repository
|
||||
on:
|
||||
branches:
|
||||
- prod
|
||||
jobs:
|
||||
build:
|
||||
name: Run remote SSH command
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Trigger build via ssh
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USER }}
|
||||
key: ${{ secrets.KEY }}
|
||||
script: |
|
||||
ls
|
Reference in New Issue
Block a user