gitea actions for deploying - something is going to break; just watch
Some checks failed
deploy updated site / rsync the directories (push) Failing after 20s

This commit is contained in:
Camille Frantz 2024-11-07 18:12:42 -06:00
parent 37d711da06
commit 8a63bef8dd
Signed by: fyrfli
SSH Key Fingerprint: SHA256:cyNGncrLxKXAgYC96dYNROnQKikLInzrpiMraZdqyhY

View File

@ -0,0 +1,19 @@
on:
push:
name: deploy updated site
jobs:
deploy:
name: rsync the directories
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v2
- name: deploy
uses: easingthemes/ssh-deploy@v5.1.0
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: '-avz --delete'
SOURCE: public/
REMOTE_HOST: $ {{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.TARGET }}