Skip to content

Add thubnails to pages #6

Add thubnails to pages

Add thubnails to pages #6

Workflow file for this run

name: Deploy to Production VPS
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy to Production VPS
env:
HOST: ${{ secrets.HOST }}
USER: ${{ secrets.USER }}
KEY: ${{ secrets.SERVER_SSH_KEY }}
run: |
mkdir -p ~/.ssh/
echo -n "$KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
rsync -av --delete -e "ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no" $GITHUB_WORKSPACE/plugins/goout-events/ $USER@$HOST:/var/www/html/wp-content/plugins/goout-events
rsync -av --delete -e "ssh -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no" $GITHUB_WORKSPACE/themes/plain-theme/ $USER@$HOST:/var/www/html/wp-content/themes/plain-theme