Camille Frantz
c74278ddc1
All checks were successful
deploy updated site / rsync the directories (push) Successful in 34s
22 lines
548 B
YAML
22 lines
548 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
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 }}
|