pre-prod #12

Merged
woutervermeer merged 2 commits from pre-prod into main 2026-03-08 14:34:17 +00:00
3 changed files with 3 additions and 5 deletions
Showing only changes of commit c165c03579 - Show all commits

View File

@@ -3,7 +3,6 @@ run-name: ${{ gitea.actor }}
on:
push:
branches:
- main
- pre-prod
pull_request:

View File

@@ -2,14 +2,13 @@ name: Deploy to production
run-name: deploy-${{ gitea.actor }}
on:
merge:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
needs: tests # require tests to pass
steps:
- uses: actions/checkout@v3
@@ -24,7 +23,7 @@ jobs:
- name: Deploy
run: |
ssh -i ~/.ssh/id_rsa ${{ secrets.DEPLOY_USER }}@${{ secrets.DEPLOY_HOST }} << 'EOF'
cd /path/to/Quatsh-Website
cd ~/Quatsh-Website
echo "Pulling latest code..."
git pull origin main

View File

@@ -1,6 +1,6 @@
prod:
docker compose down
docker compose -f ./compose.yaml -f ./compose.prod.yaml up --build
docker compose -f ./compose.yaml -f ./compose.prod.yaml up -d --build
dev:
docker compose down