Skip to content

switch to get_stylesheet_directory() to allow overriding in child the… #10

switch to get_stylesheet_directory() to allow overriding in child the…

switch to get_stylesheet_directory() to allow overriding in child the… #10

Workflow file for this run

name: Deploy to production site.
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- uses: actions/checkout@master
- name: Upload
run: rsync -razhe "ssh -o StrictHostKeyChecking=no" --exclude={'.git','.github','.gitignore','composer.json'} . ${{ secrets.SSH_USERNAME }}@${{ secrets.SERVER_IP }}:${{ secrets.DOWNLOADS_DIR }}