Simplify deploy workflow to a single job for act_runner.
Some checks failed
CI / Typecheck and test (push) Successful in 8s
Deploy / Test and deploy (push) Failing after 8s

This commit is contained in:
alisaza 2026-09-13 14:56:04 +03:30
parent 9615f6cb1e
commit ed20c35396

View File

@ -5,13 +5,9 @@ on:
branches: [main] branches: [main]
workflow_dispatch: workflow_dispatch:
concurrency:
group: deploy-telegram-relay
cancel-in-progress: true
jobs: jobs:
test: test-and-deploy:
name: Typecheck and test name: Test and deploy
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -20,16 +16,14 @@ jobs:
with: with:
node-version: '20' node-version: '20'
- run: npm ci - name: Install
- run: npm run typecheck run: npm ci
- run: npm test
deploy: - name: Typecheck
name: Deploy to VPS run: npm run typecheck
needs: test
runs-on: ubuntu-latest - name: Test
steps: run: npm test
- uses: actions/checkout@v4
- name: Deploy over SSH - name: Deploy over SSH
env: env: