add deploy creation
Tests / PHPUnit (push) Successful in 1m14s

This commit is contained in:
root
2026-07-16 00:48:17 -04:00
parent 636231b62a
commit 0699fbbdd6
3 changed files with 87 additions and 7 deletions
+4 -7
View File
@@ -37,6 +37,9 @@ jobs:
- name: Install production dependencies
run: composer install --no-dev --no-interaction --prefer-dist --no-progress --optimize-autoloader
- name: Create deployment artifact
run: bash scripts/build-deploy-artifact.sh
- name: Configure SSH
run: |
test -n "${DEPLOY_HOST}"
@@ -61,19 +64,13 @@ jobs:
rsync -az --delete \
-e "ssh -i ~/.ssh/deploy_key -p ${SSH_PORT}" \
--exclude '.git/' \
--exclude '.gitea/' \
--exclude '.env' \
--exclude 'env' \
--exclude 'env.*' \
--exclude 'writable/cache/***' \
--exclude 'writable/logs/***' \
--exclude 'writable/session/***' \
--exclude 'writable/uploads/***' \
--exclude 'writable/debugbar/***' \
--exclude 'tests/' \
--exclude 'phpunit.xml*' \
./ "${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}/"
build/deploy/ "${DEPLOY_USER}@${DEPLOY_HOST}:${DEPLOY_PATH}/"
- name: Finalize deployment
run: |