Skip to content

feat: custom rules

feat: custom rules #62

Workflow file for this run

name: CI/CD Pipeline for SQL-ANALYZER on VTB server
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY_VTB }}
- name: Deploy to Server
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST_VTB }} '
cd pincode.vtb-hack &&
eval $(ssh-agent -s) &&
echo "${{ secrets.SSH_PASSPHRASE }}" | SSH_ASKPASS=/bin/cat ssh-add ~/.ssh/id_rsa_github &&
git pull &&
sudo docker compose up -d --build &&
sudo docker system prune -af
'