Skip to content

Merge pull request #43 from jeremyfelt/clarifications #25

Merge pull request #43 from jeremyfelt/clarifications

Merge pull request #43 from jeremyfelt/clarifications #25

name: Deployment
on:
push:
branches: [ develop ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v4
- name: Deploy to server
if: success()
uses: easingthemes/ssh-deploy@v5.0.3
env:
# Remember this needs to be in PEM format, so make sure you aren't
# using one of your old keys, Jeremy.
# If you need a new key, use: ssh-keygen -m PEM -t rsa -b 4096
SSH_PRIVATE_KEY: ${{ secrets.FOGGY_SSH_KEY }}
ARGS: "-rltgoDzvO --exclude-from=.deploy_ignore --delete"
SOURCE: "./"
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
REMOTE_USER: ${{ secrets.REMOTE_USER }}
TARGET: ${{ secrets.REMOTE_TARGET }}