This commit is contained in:
parent
1f14489c78
commit
395591e1c7
1 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/deploy.yml
Normal file
21
.forgejo/workflows/deploy.yml
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Auto Pull
|
||||
|
||||
on: [push]
|
||||
# push:
|
||||
# branches:
|
||||
# - 'main'
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: SSH Deploy
|
||||
uses: https://github.com/appleboy/ssh-action@v1
|
||||
with:
|
||||
host: ${{ secrets.HOST_ADDRESS }}
|
||||
username: forgejo #$ {{ secrets.SSH_USER }} #
|
||||
key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
script: |
|
||||
ls
|
||||
cd homeserver
|
||||
${{ secrets.SCRIPT }}
|
Loading…
Add table
Add a link
Reference in a new issue