Skip to content
Merged
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
25 changes: 22 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
cd frontend && flutter build apk --release

- name: Upload APK artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: android-apk
path: frontend/build/app/outputs/flutter-apk/app-release.apk
Expand All @@ -45,7 +45,26 @@ jobs:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'


- name: Grant execute permission for gradlew
run: cd backend && chmod +x gradlew

- name: Set up PostgreSQL
uses: harmon758/postgresql-action@v1
with:
postgresql version: '14'
postgresql db: ${{ secrets.POSTGRES_DB }}
postgresql user: ${{ secrets.POSTGRES_USER }}
postgresql password: ${{ secrets.POSTGRES_PASSWORD }}

- name: Export DB secrets to environment
run: |
echo "DB_HOST=localhost" >> $GITHUB_ENV
echo "DB_PORT=5432" >> $GITHUB_ENV
echo "DB_NAME=${{ secrets.POSTGRES_DB }}" >> $GITHUB_ENV
echo "DB_USER=${{ secrets.POSTGRES_USER }}" >> $GITHUB_ENV
echo "DB_PASSWORD=${{ secrets.POSTGRES_PASSWORD }}" >> $GITHUB_ENV

- name: Build with Gradle
run: |
cd backend && ./gradlew build
Expand All @@ -55,7 +74,7 @@ jobs:
cd backend && docker build -t cardly-backend .

- name: Upload backend artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: backend-build
path: backend/build/libs
Binary file added Documentation/Diagrams/Activity diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/Diagrams/Deployment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/Diagrams/ER.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions Documentation/Diagrams/Sequences_Diagrams/Админ.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/Diagrams/Use case copy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/Diagrams/Use case.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Documentation/Diagrams/Классы.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added Documentation/SWOT-анализ.docx
Binary file not shown.
Binary file added Documentation/SWOT-анализ.pdf
Binary file not shown.
Loading