First build
Some checks failed
Client Admin / build-deploy (push) Failing after 8s
Client Client / build-deploy (push) Failing after 3s
Client Registration / build-deploy (push) Failing after 20s
Client Tech / build-deploy (push) Failing after 1s
Client Home / build-deploy (push) Successful in 14s

This commit is contained in:
Grae Jones
2026-03-21 17:54:42 -07:00
parent 3647b304a3
commit fdb3e117a9
203 changed files with 35733 additions and 18189 deletions

View File

@@ -0,0 +1,35 @@
name: Client Admin
on:
push:
branches: [master]
paths:
- 'Client-Admin/**'
- '.gitea/workflows/client-admin.yml'
jobs:
build-deploy:
runs-on: host
env:
NGINX_HOST: 192.168.77.227
NGINX_PATH: /var/www/positivespend/websites/admin
SSH_KEY: ~/.ssh/gitea_runner
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
working-directory: Client-Admin
run: npm ci
- name: Build
working-directory: Client-Admin
run: npm run build
- name: Deploy to Nginx server
run: |
rsync -az --delete \
-e "ssh -i ${{ env.SSH_KEY }} -o StrictHostKeyChecking=no" \
Client-Admin/dist/ \
root@${{ env.NGINX_HOST }}:${{ env.NGINX_PATH }}/