jsquotes/.gitea/workflows/deploy.yaml

20 lines
521 B
YAML
Raw Normal View History

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/
2024-11-07 18:20:03 -06:00
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.TARGET }}