chore-cicd: deploy qt dir in cicd
This commit is contained in:
@@ -10,6 +10,7 @@ on:
|
||||
paths:
|
||||
- 'bin/**'
|
||||
- 'packages/agebd/**'
|
||||
- 'qt/**'
|
||||
- 'services/**'
|
||||
|
||||
|
||||
@@ -36,6 +37,8 @@ jobs:
|
||||
- 'bin/**'
|
||||
agebd:
|
||||
- 'packages/agebd/**'
|
||||
qt:
|
||||
- 'qt/**'
|
||||
services:
|
||||
- 'services/**'
|
||||
|
||||
@@ -61,6 +64,17 @@ jobs:
|
||||
mkdir -p ${DEST_DIR}
|
||||
cp -r ./* ${DEST_DIR}
|
||||
|
||||
# TODO: maybe this is better: `rsync -av --delete ./ "${DEST_DIR}/"` # Sync everything perfectly, including hidden files, and delete old stale files
|
||||
- name: Qt - deploy
|
||||
if: steps.filter.outputs.qt == 'true'
|
||||
env:
|
||||
# commit tagged ? yes->prod : no->dev
|
||||
DEST_DIR: /sls/bd/hla/${{ github.ref_type == 'tag' && 'prod' || 'dev' }}/qt
|
||||
working-directory: qt
|
||||
run: |
|
||||
mkdir -p ${DEST_DIR}
|
||||
cp -r ./* ${DEST_DIR}
|
||||
|
||||
# TODO: (when) do we need to restart the master service or reinstall/restart the master ioc?
|
||||
|
||||
- name: Services - Initialize Virtual Environment from cli/uv.lock
|
||||
|
||||
Reference in New Issue
Block a user