Merge pull request #43 from jeremyfelt/clarifications #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |