Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
93e4e5e393 | ||
|
|
be16c1aadb | ||
|
|
2fb3038850 | ||
|
|
a76678293f | ||
|
|
3d094602fd | ||
|
|
5534da6e01 | ||
|
|
be687e14ba | ||
|
|
b524106ca2 | ||
|
|
44db1d691a | ||
|
|
ba35f9eab0 |
+20
-21
@@ -16,27 +16,28 @@ permissions:
|
|||||||
packages: write
|
packages: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
# test:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
#
|
||||||
steps:
|
# steps:
|
||||||
- name: Checkout
|
# - name: Checkout
|
||||||
uses: actions/checkout@v4
|
# uses: actions/checkout@v4
|
||||||
|
#
|
||||||
- name: Setup Node
|
# - name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
# uses: actions/setup-node@v4
|
||||||
with:
|
# with:
|
||||||
node-version: 22
|
# node-version: 22
|
||||||
cache: npm
|
# cache: npm
|
||||||
|
#
|
||||||
- name: Install dependencies
|
# - name: Install dependencies
|
||||||
run: npm ci
|
# run: npm ci
|
||||||
|
#
|
||||||
- name: Typecheck
|
# - name: Typecheck
|
||||||
run: npx tsc --noEmit
|
# run: npx tsc --noEmit
|
||||||
|
#
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs: test
|
# needs: test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -107,8 +108,6 @@ jobs:
|
|||||||
"$DEPLOY_USER@$DEPLOY_HOST" \
|
"$DEPLOY_USER@$DEPLOY_HOST" \
|
||||||
"cd '$DEPLOY_PATH' && \
|
"cd '$DEPLOY_PATH' && \
|
||||||
IMAGE_TAG='$IMAGE_TAG' docker compose pull && \
|
IMAGE_TAG='$IMAGE_TAG' docker compose pull && \
|
||||||
IMAGE_TAG='$IMAGE_TAG' docker compose up -d postgres && \
|
|
||||||
IMAGE_TAG='$IMAGE_TAG' docker compose run --rm app npx drizzle-kit migrate && \
|
|
||||||
IMAGE_TAG='$IMAGE_TAG' docker compose up -d && \
|
IMAGE_TAG='$IMAGE_TAG' docker compose up -d && \
|
||||||
docker image prune -f"
|
docker image prune -f"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user