Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 0 additions & 63 deletions .github/workflows/deploy-dev.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy to EC2

on:
push:
tags: ['v*']
branches: [main]
workflow_dispatch:

concurrency:
Expand All @@ -23,8 +23,8 @@ jobs:
script: |
set -e
cd ~/Observal
git fetch origin --tags
git checkout ${{ github.ref_name }}
git fetch origin main
git reset --hard origin/main

cd docker
docker compose -f docker-compose.yml -f docker-compose.production.yml up -d --build --remove-orphans
Expand Down
2 changes: 1 addition & 1 deletion docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ services:
environment:
POSTGRES_DB: observal
volumes:
- pgdata:/var/lib/postgresql/data
- pgdata:/var/lib/postgresql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
Expand Down
Loading