Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

niostack is deploying to server 🚀 #104

niostack is deploying to server 🚀

niostack is deploying to server 🚀 #104

Workflow file for this run

name: auto deploy
run-name: ${{ github.actor }} is deploying to server 🚀
on:
push:
branches:
- out
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 21.5.0
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build:test
- name: 📂 upload to server
uses: appleboy/scp-action@v0.1.4
with:
host: 154.197.99.171
username: root
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 31275
source: dist/*
target: /root/tt.niostack.com