Skip to content

chore(deps): update dependency eslint-plugin-react to v7.37.1 #33

chore(deps): update dependency eslint-plugin-react to v7.37.1

chore(deps): update dependency eslint-plugin-react to v7.37.1 #33

Workflow file for this run

name: Deploy on Kinsta
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Add GitHub to known hosts
run: |
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
- name: Check SSH connection
run: |
ssh -o StrictHostKeyChecking=no -A ${{ secrets.SSH_USER_HOST }} -p ${{ secrets.SSH_PORT }} "echo 'SSH connection successful'"
- name: Verify forwarded SSH key on remote server
run: |
ssh -o StrictHostKeyChecking=no -A ${{ secrets.SSH_USER_HOST }} -p ${{ secrets.SSH_PORT }} 'ssh-add -l'
- name: Run git pull on the remote server
run: |
ssh -o StrictHostKeyChecking=no -A ${{ secrets.SSH_USER_HOST }} -p ${{ secrets.SSH_PORT }} 'cd public && git pull && composer install --no-dev --no-scripts ; wp plugin activate --all'