diff --git a/.gitea/workflows/maven.yaml b/.gitea/workflows/maven.yaml
index 5b8a05d..b315bf1 100644
--- a/.gitea/workflows/maven.yaml
+++ b/.gitea/workflows/maven.yaml
@@ -13,12 +13,18 @@ jobs:
       - name: Set up Maven
         uses: stCarolas/setup-maven@v5
         with:
-          maven-version: '3.9.9'
+          maven-version: 3.9.9
       - name: Set up JDK 21
         uses: actions/setup-java@v4
         with:
-          java-version: '21'
+          java-version: 21
           distribution: 'oracle'
           cache: 'maven'
-      - name: Build with Maven
-        run: mvn -B package --file pom.xml
\ No newline at end of file
+      - name: Build, Test and Package with Maven
+        run: mvn -B verify --file pom.xml -e
+      - name: Upload artifact
+        uses: actions/upload-artifact@v3
+        with:
+          name: searchengine-artifact
+          path: |
+            target/*.jar
\ No newline at end of file
diff --git a/application.yaml b/application.yaml
index fee03e0..2290c22 100644
--- a/application.yaml
+++ b/application.yaml
@@ -3,14 +3,17 @@ server:
 
 spring:
   datasource:
-    username: root
-    password: hRMH94dJ
-    url: jdbc:mysql://localhost:3306/search_engine?useSSL=false&requireSSL=false&allowPublicKeyRetrieval=true
+    username: ${DB_USERNAME}
+    password: ${DB_PASSWORD}
+    url: ${DB_URL}
+#    username: root
+#    password: hRMH94dJ
+#    url: jdbc:mysql://localhost:3306/search_engine?useSSL=false&requireSSL=false&allowPublicKeyRetrieval=true
   jpa:
     hibernate:
-      ddl-auto: update
+#      ddl-auto: update
 #     Ниже - временный вариант, таблица удаляется после завершения работы приложения
-#      ddl-auto: create-drop
+      ddl-auto: create-drop
     show-sql: true
     open-in-view: false
 
diff --git a/pom.xml b/pom.xml
index cedc726..6174488 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,8 +9,8 @@
     1.0-SNAPSHOT
 
     
-        23
-        23
+        21
+        21
         UTF-8
     
 
@@ -45,5 +45,10 @@
             8.4.0
             runtime
         
+        
+            me.paulschwarz
+            spring-dotenv
+            4.0.0
+        
     
 
\ No newline at end of file