workflow
This commit is contained in:
16
.gitea/workflows/update.yml
Normal file
16
.gitea/workflows/update.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
name: remote ssh command
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: Build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: executing remote ssh commands using password
|
||||||
|
uses: appleboy/ssh-action@v0.1.10
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.HOST }}
|
||||||
|
username: ${{ secrets.USERNAME }}
|
||||||
|
password: ${{ secrets.PASSWORD }}
|
||||||
|
port: 22
|
||||||
|
script: update-pack
|
||||||
Reference in New Issue
Block a user