Skip to content

Commit 55ebf46

Browse files
committed
fix news, colors, add dev-deploy.yml
1 parent 99f452d commit 55ebf46

5 files changed

Lines changed: 36 additions & 56 deletions

File tree

.github/workflows/deploy-dev.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# @format
2+
3+
name: Deploy to dev-stage
4+
5+
on:
6+
push:
7+
branches: [dev]
8+
9+
jobs:
10+
deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- name: Use Node.js 18.x
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 18.13
18+
cache: "npm"
19+
cache-dependency-path: package-lock.json
20+
- run: npm ci
21+
- run: npm run format:check
22+
- run: npm run lint:ts
23+
- run: npm run build:pr
24+
- name: Deploy to dev-stage
25+
uses: burnett01/rsync-deployments@5.2.1
26+
with:
27+
switches: -avzr --delete
28+
path: dist/social_platform/
29+
remote_path: /var/www/dev-stage
30+
remote_user: ${{ secrets.DEV_DEPLOY_USER }}
31+
remote_key: ${{ secrets.DEV_DEPLOY_KEY }}
32+
remote_host: ${{ secrets.DEV_HOST }}

.github/workflows/pull_request.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.

projects/social_platform/src/app/office/features/news-card/news-card.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@
9696
{{ feedItem.likesCount > 0 ? feedItem.likesCount : "" }}
9797
</div>
9898

99-
<div class="footer__share share">
99+
<!--<div class="footer__share share">
100100
<i class="share__icon" appIcon icon="comment" appSquare="10"></i>
101-
</div>
101+
</div>-->
102102

103103
<div class="footer__share share" (click)="onCopyLink()">
104104
<i class="share__icon" appIcon icon="share" appSquare="10"></i>

projects/social_platform/src/app/office/program/detail/list/list.component.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
&__list {
8383
display: grid;
8484
grid-template-columns: repeat(2, 1fr);
85-
row-gap: 30px;
85+
row-gap: 50px;
8686
column-gap: 12px;
8787
align-items: flex-start;
8888
margin-top: 30px;

projects/social_platform/src/app/office/projects/dashboard/shared/dashboardItem/dashboardItem.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636

3737
<a class="dashboard__link" [routerLink]="'/office/projects/' + sectionName">
38-
<span class="text-body-10">показать раздел</span>
38+
<span style="color: var(--grey-for-text) !important" class="text-body-10">показать раздел</span>
3939
<i appIcon icon="plus" appSquare="8"></i>
4040
</a>
4141
</div>

0 commit comments

Comments
 (0)