Skip to content

feat: new .env into app #52

feat: new .env into app

feat: new .env into app #52

Workflow file for this run

name: Nepal - Deploy
on:
push:
branches:
- main
jobs:
build:
name: Deploy to Nepal server
runs-on: ubuntu-latest
env:
COUNTRY: np
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v3
- name: 🛠️ Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: 🛠️ Install dependencies
run: npm install
- name: 🚀 Build
run: npm run build
- name: 🕵🏻 Copy file via ssh key
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
source: "build"
target: "/usr/share/nginx/html/np/docs"
strip_components: 1