workflowfix4
This commit is contained in:
parent
53145ea93b
commit
8a213714a1
1 changed files with 0 additions and 22 deletions
|
@ -1,22 +0,0 @@
|
||||||
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 Homepage
|
|
||||||
apt update && apt install -y hugo rsync git
|
|
||||||
hugo && rsync -avz --delete public/ forgejo@192.168.1.145:/var/www/
|
|
Loading…
Add table
Add a link
Reference in a new issue