ci-improved
Some checks failed
deploy / test (push) Successful in 17s
deploy / deploy (push) Failing after 28s

This commit is contained in:
Untone 2024-02-05 15:22:58 +03:00
parent a2870a1100
commit 7610c49f33

View File

@ -2,6 +2,24 @@ name: 'deploy'
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm ci
- name: Lint with Biome
run: npx biome ci .
- name: Check types
run: npx tsc --noEmit
deploy:
runs-on: ubuntu-latest
steps:
@ -19,4 +37,4 @@ jobs:
with:
branch: 'main'
git_remote_url: 'ssh://dokku@staging.discours.io:22/${{ steps.repo_name.outputs.repo }}'
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}