Skip to content

improved email and mobile push alert settings handling #299 #127

improved email and mobile push alert settings handling #299

improved email and mobile push alert settings handling #299 #127

Workflow file for this run

name: Build and Deploy DEV
on:
push:
branches:
- dev
jobs:
build:
runs-on: ubuntu-latest
environment: dev
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Build
run: make dev
- name: Depoly
run: |
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ssh_key.pem
chmod 600 ssh_key.pem
sshpass -Ppassphrase -p ${{ secrets.SSH_KEY_PASSPHRASE }} scp -i ssh_key.pem -o StrictHostKeyChecking=no -r build/* ${{ secrets.SERVER_USERNAME }}@${{ secrets.SERVER_HOST }}:/var/www/html/