Skip to content

Add NanoSpeed API as first class to get the conf time on the home pag… #777

Add NanoSpeed API as first class to get the conf time on the home pag…

Add NanoSpeed API as first class to get the conf time on the home pag… #777

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
id: setup-node
uses: actions/setup-node@v3
with:
node-version: 18.16.0
cache: "npm"
- name: Build static assets
env:
REACT_APP_GOOGLE_MEASUREMENT_ID: ${{ secrets.REACT_APP_GOOGLE_MEASUREMENT_ID }}
run: |
npm install
npm run build
- name: Rsync deployment
uses: burnett01/[email protected]
with:
switches: -avzr --delete --exclude=".env" --exclude="server/data/" --exclude="public/cryptocurrencies/logo"
path: "."
remote_path: /var/www/www.nanolooker.com
remote_host: ${{ secrets.DO_HOST }}
remote_user: ${{ secrets.DO_USERNAME }}
remote_key: ${{ secrets.DO_SSHKEY }}