Skip to content

Moving how redirection is done #260

Moving how redirection is done

Moving how redirection is done #260

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
env:
CI: false
jobs:
buildReact:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/checkout@v2
- run: ls
- run: cd frontend && npm install --legacy-peer-deps && npm run build && rm -rf node_modules && cd ..
- name: Publish
uses: nogsantos/scp-deploy@master
with:
src: ./*
host: ${{ secrets.SSH_HOST }}
remote: ${{ secrets.SSH_DIR }}
port: ${{ secrets.SSH_PORT }}
user: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}