adjust np logo and transalations to nepali #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sierra Leone - deploy | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Deploy to Sierra leone server | |
runs-on: ubuntu-latest | |
env: | |
VITE_API_URL: https://coachdigital.org/sl/api/ | |
VITE_COUNTRY: sl | |
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: 'dist' | |
target: '/usr/share/nginx/html/sl/admin' | |
strip_components: 1 |