Skip to content

fix: added missing package #15

fix: added missing package

fix: added missing package #15

Workflow file for this run

name: Deploy
on:
push:
branches: [ main ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
SSH_KEY: ${{ secrets.SSH_KEY }}
SSH_HOSTNAME: ${{ secrets.SSH_HOSTNAME }}
SSH_PORT: ${{ secrets.SSH_PORT }}
SSH_USER: ${{ secrets.SSH_USER }}
steps:
- name: Set up SSH
run: |
mkdir -p ~/.ssh
echo "${SSH_KEY}" > ~/.ssh/github-action
chmod 400 ~/.ssh/github-action
echo -e "Host vortezzdev\n\tUser ${SSH_USER}\n\tHostname ${SSH_HOSTNAME}\n\tPort ${SSH_PORT}\n\tStrictHostKeyChecking No\n\tIdentityFile ~/.ssh/github-action" >> ~/.ssh/config
- name: Deploy
run: ssh vortezzdev "sh build.sh"