2024-11-07 18:12:42 -06:00
|
|
|
on:
|
|
|
|
push:
|
2024-11-08 09:40:34 -06:00
|
|
|
branches:
|
|
|
|
- main
|
2024-11-08 12:25:46 -06:00
|
|
|
paths-ignore:
|
|
|
|
- .gitignore
|
|
|
|
- README.md
|
|
|
|
- LICENSE
|
2024-11-08 12:50:12 -06:00
|
|
|
pull_request:
|
2024-11-07 18:12:42 -06:00
|
|
|
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 }}
|
2024-11-08 12:51:23 -06:00
|
|
|
ARGS: '-avz --delete --exclude-from=.gitea/.excludes'
|
|
|
|
SOURCE: .
|
2024-11-07 18:20:03 -06:00
|
|
|
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
|
2024-11-07 18:12:42 -06:00
|
|
|
REMOTE_USER: ${{ secrets.REMOTE_USER }}
|
|
|
|
TARGET: ${{ secrets.TARGET }}
|