Add automated test-environment deploy via SCP with nginx reverse proxy, domain names and SSL (certbot) setup

Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
2026-07-24 15:52:16 +02:00
co-authored by Junie
parent a437bad95b
commit 1ffe884eba
9 changed files with 273 additions and 61 deletions
+5 -3
View File
@@ -4,7 +4,7 @@ on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [main]
branches: [master]
jobs:
prepare:
@@ -103,10 +103,12 @@ jobs:
- name: Unit tests
run: pnpm run test
deploy:
deploy-test:
needs: [build, test]
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/master')
uses: ./.gitea/workflows/deploy.yaml
secrets: inherit
with:
artifact_name: dist
environment: production
environment: test
deploy_path: /html/test/slpsoftware