Skip to content

Merge pull request #55 from alexdeathway/dependabot/pip/sqlparse-0.5.0 #27

Merge pull request #55 from alexdeathway/dependabot/pip/sqlparse-0.5.0

Merge pull request #55 from alexdeathway/dependabot/pip/sqlparse-0.5.0 #27

Workflow file for this run

name: Build
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
environment: 'Production'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: install ssh keys
run: |
install -m 600 -D /dev/null ~/.ssh/id_rsa
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
ssh-keyscan -H ${{ secrets.SERVER_IP }} > ~/.ssh/known_hosts
- name: Deploy
run: |
ssh ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_IP }} 'cd ${{ secrets.PATH }} && ./deploy.sh'