Skip to content

Commit

Permalink
🔄 Updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
muqimjon committed Feb 1, 2024
1 parent f696e81 commit d209f35
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pre-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:


build-bot:

name: Build frontend
runs-on: ubuntu-latest

steps:
Expand All @@ -36,4 +36,4 @@ jobs:
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet build --configuration Release --output out --verbosity normal /src/frontend/EcoLink.Bot
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
echo $DOCKER_PASSWORD | docker login --username $DOCKER_USERNAME --password-stdin
- name: Build and push
run: |
docker build --tag $DOCKER_USERNAME/$PROJECT-bot --file ./src/backend/EcoLink.WebApi/Dockerfile .
docker build --tag $DOCKER_USERNAME/$PROJECT-api --file ./src/backend/EcoLink.WebApi/Dockerfile .
docker push $DOCKER_USERNAME/$PROJECT-api
build-bot:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,8 @@ private string GetApplicationInForm()
user.RequiredFunding,
user.AssetsInvested,
user.Phone,
user.Email],
user.Email,
user.Profession],
UserProfession.Investor => localizer["txtApplicationInvestment",
user.FirstName,
user.LastName,
Expand All @@ -379,7 +380,8 @@ private string GetApplicationInForm()
user.Sector,
user.InvestmentAmount,
user.Phone,
user.Email],
user.Email,
user.Profession],
UserProfession.Representative => localizer["txtApplicationRepresentation",
user.FirstName,
user.LastName,
Expand All @@ -392,7 +394,8 @@ private string GetApplicationInForm()
user.Expectation,
user.Purpose,
user.Phone,
user.Email],
user.Email,
user.Profession],
UserProfession.ProjectManager => localizer["txtApplicationProjectManagement",
user.FirstName,
user.LastName,
Expand All @@ -405,7 +408,8 @@ private string GetApplicationInForm()
user.Expectation,
user.Purpose,
user.Phone,
user.Email],
user.Email,
user.Profession],
_ => string.Empty,
};
}
Expand All @@ -423,7 +427,8 @@ private string GetApplicationInForm(ProjectManagementAppDto dto)
dto.Expectation,
dto.Purpose,
dto.Phone,
dto.Email];
dto.Email,
user.Profession];

private string GetApplicationInForm(EntrepreneurshipAppDto dto)
=> localizer["txtApplicationEntrepreneurship",
Expand All @@ -437,7 +442,8 @@ private string GetApplicationInForm(EntrepreneurshipAppDto dto)
dto.RequiredFunding,
dto.AssetsInvested,
dto.Phone,
dto.Email];
dto.Email,
user.Profession];

private string GetApplicationInForm(InvestmentAppDto dto)
=> localizer["txtApplicationInvestment",
Expand All @@ -448,7 +454,8 @@ private string GetApplicationInForm(InvestmentAppDto dto)
dto.Sector,
dto.InvestmentAmount,
dto.Phone,
dto.Email];
dto.Email,
user.Profession];

private string GetApplicationInForm(RepresentationAppDto dto)
=> localizer["txtApplicationRepresentation",
Expand All @@ -463,5 +470,6 @@ private string GetApplicationInForm(RepresentationAppDto dto)
dto.Expectation,
dto.Purpose,
dto.Phone,
dto.Email];
dto.Email,
user.Profession];
}
16 changes: 12 additions & 4 deletions src/frontend/EcoLink.Bot/Resources/BotLocalizer.uz.resx
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@ Tikiladigan aktiv:
Telefon raqami:
↳ {9}
Email:
↳ {10}</value>
↳ {10}

Ariza yo'nalishi: {11}</value>
<comment>Tayyor Arizani tasdiqlash uchun foydalanuvchiga to'liq holda taqdim qilish uchun tadbirkor ma'lumotlari</comment>
</data>
<data name="txtApplicationInvestment" xml:space="preserve">
Expand All @@ -311,7 +313,9 @@ Yordam:
Telefon raqami:
↳ {6}
Email:
↳ {7}</value>
↳ {7}

Ariza yo'nalishi: {8}</value>
<comment>Tayyor Arizani tasdiqlash uchun foydalanuvchiga to'liq holda taqdim qilish uchun investor ma'lumotlari</comment>
</data>
<data name="txtApplicationProjectManagement" xml:space="preserve">
Expand All @@ -338,7 +342,9 @@ Vakil bo'lishdan maqsad:
Telefon raqami:
↳ {10}
Email:
↳ {11}</value>
↳ {11}

Ariza yo'nalishi: {12}</value>
</data>
<data name="txtApplicationRepresentation" xml:space="preserve">
<value>Ism:
Expand All @@ -364,7 +370,9 @@ Vakil bo'lishdan maqsad:
Telefon raqami:
↳ {10}
Email:
↳ {11}</value>
↳ {11}

Ariza yo'nalishi: {12}</value>
</data>
<data name="txtAskFeedbackForOrganization" xml:space="preserve">
<value>O'xbekiston Iqtisodiyot Assambleyasi tashkilotining rivoji uchun yana qanday ishlar qilishimiz mumkinligi haqida o'z fikringizni qoldiring. Bu biz uchun juda muhim!</value>
Expand Down

0 comments on commit d209f35

Please sign in to comment.