Update batcache 52ce7769dcfa1023ddd5b45580afe097e59a53b0 #21
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@v2 | |
- name: Deploy to server | |
if: success() | |
uses: easingthemes/ssh-deploy@v2.2.11 | |
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 }} |