From 0d65bb4f26bd26b482378d3d1c6a1fc099903b61 Mon Sep 17 00:00:00 2001 From: Vasya Ryzhkoff Date: Sat, 27 Jul 2024 06:21:34 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.gitea/workflows/dev=5Fpipeline.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/dev_pipeline.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/dev_pipeline.yaml b/.gitea/workflows/dev_pipeline.yaml index 272317d..ce931d3 100644 --- a/.gitea/workflows/dev_pipeline.yaml +++ b/.gitea/workflows/dev_pipeline.yaml @@ -17,17 +17,17 @@ jobs: - name: Check out repo code 📝 uses: actions/checkout@v4 - name: Set up PostgreSQL 🐘 - uses: postgres-actions/setup-postgres@v1 - with: - postgres-version: '15' - postgres-user: 'developer' - postgres-password: 'magazinchik_forever' - postgres-port: '5432' + run: | + sudo systemctl start postgresql.service + pg_isready + - name: Create User + run: | + sudo -u postgres psql --command='CREATE USER developer PASSWORD 'magazinchik_forever' --command='du' - name: Init db 📜 env: PGPASSWORD: magazinchik_forever run: | - psql -h localhost -U developer -p 5432 -f ${{ gitea.workspace }}/Db/_localhost-2024_07_27_12_51_02-dump.sql + sudo psql -h localhost -U developer -f ${{ gitea.workspace }}/Db/_localhost-2024_07_27_12_51_02-dump.sql - name: Setup .NET 🛠️ uses: actions/setup-dotnet@v3 with: