Update workflow to use server-infra
Unit Tests / test (push) Successful in 10s

This commit is contained in:
2026-07-08 06:05:11 -05:00
parent 6f97f6084d
commit 9a383c0ee9
+8 -7
View File
@@ -54,11 +54,12 @@ jobs:
if: gitea.event.workflow_run.conclusion == 'success' && gitea.event.workflow_run.event == 'push'
runs-on: self-hosted
needs: [test, docker]
env:
SERVER_INFRA_ROOT: /home/westfarn/Documents/repos/server-infra
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ gitea.event.workflow_run.head_sha }}
- name: Deploy to live site
run: bash scripts/deploy.sh "${{ gitea.workspace }}"
- name: Deploy company_site prod
run: |
"${SERVER_INFRA_ROOT}/scripts/deploy.sh" \
--app company_site \
--env prod \
--ref "${{ gitea.event.workflow_run.head_sha }}"