Skip to content

Commit

Permalink
temp: test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kidneyweakx committed Dec 11, 2023
1 parent 6840a96 commit ccff777
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
touch ./apps/backend/.env
echo COUCHDB_USER=${{secrets.COUCHDB_USER}} >> ./apps/backend/.env
echo COUCHDB_PASSWORD=${{secrets.COUCHDB_PASSWORD}} >> ./apps/backend/.env
cat ./apps/backend/.env
- name: Build
run: pnpm build --filter backend

Expand Down
7 changes: 4 additions & 3 deletions apps/backend/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
networks:
- doro_network
env_file:
- ./.env
- .env
build:
context: ./
dockerfile: Dockerfile
Expand All @@ -21,8 +21,9 @@ services:
- '5984:5984'
networks:
- doro_network
env_file:
- ./.env
environment:
COUCHDB_USER: ${COUCHDB_USER}
COUCHDB_PASSWORD: ${COUCHDB_PASSWORD}

# caddy:
# container_name: doro_caddy
Expand Down
1 change: 1 addition & 0 deletions apps/backend/scripts/cicd.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
set -e
source .env

docker-compose up --build -d

0 comments on commit ccff777

Please sign in to comment.