fix: deploy qt on add new service
This commit is contained in:
@@ -31,6 +31,27 @@ jobs:
|
||||
SERVICE_NAME="${BRANCH#feature/add-service-}"
|
||||
echo "service_name_lower=$SERVICE_NAME" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Qt - deploy
|
||||
env:
|
||||
DEST_DIR: /sls/bd/hla/dev/qt
|
||||
run: |
|
||||
mkdir -p "${DEST_DIR}"
|
||||
|
||||
rsync -avz --delete \
|
||||
--exclude='.nfs*' \
|
||||
--exclude='.git/' \
|
||||
--exclude='.venv/' \
|
||||
--exclude='__pycache__/' \
|
||||
--exclude='*.pyc' \
|
||||
--exclude='.pytest_cache/' \
|
||||
./qt/* "${DEST_DIR}/"
|
||||
|
||||
### SUBSTITUTIONS
|
||||
source "${{ github.workspace }}/.gitea/scripts/common.sh"
|
||||
set_env_suffix "dev"
|
||||
sed -i "s/{{ *agebd_env_suffix_upper* }}/${AGEBD_ENV_SUFFIX_UPPER}/g" "${DEST_DIR}/"*
|
||||
sed -i "s/{{ *agebd_env_suffix_lower* }}/${AGEBD_ENV_SUFFIX_LOWER}/g" "${DEST_DIR}/"*
|
||||
|
||||
# The ioc steps read the deployed ioc files on /sls, so the service
|
||||
# has to be deployed before its ioc is installed.
|
||||
- name: Deploy and Restart Master Service
|
||||
|
||||
Reference in New Issue
Block a user