Skip to content

attempt to fix "new user" message when api call fails #421 #109

attempt to fix "new user" message when api call fails #421

attempt to fix "new user" message when api call fails #421 #109

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/