Skip to content

Commit 2d44a7d

Browse files
committed
Update deploy tests to reflect delegation
1 parent 7c63fe1 commit 2d44a7d

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

apps/api/src/deploy.test.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,9 @@ describe('deploy-node.yml', () => {
9292
expect(workflow).toContain('R2_ENDPOINT')
9393
})
9494

95-
test('deploys to Hetzner via SSH', () => {
96-
expect(workflow).toContain('Deploy to Hetzner')
97-
expect(workflow).toContain('HETZNER_SSH_KEY')
98-
expect(workflow).toContain('HETZNER_HOST')
99-
expect(workflow).toContain('systemctl restart sandchest-node')
95+
test('delegates deployment to admin app (no direct SSH)', () => {
96+
expect(workflow).toContain('Deploy Daemon')
97+
expect(workflow).not.toContain('HETZNER_SSH_KEY')
10098
})
10199

102100
test('uses concurrency group to prevent parallel deploys', () => {

0 commit comments

Comments
 (0)