Skip to content

Commit 79a85dc

Browse files
committed
for test
1 parent 9c5a403 commit 79a85dc

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.github/workflows/dev-documentation.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: dev-documentation
33
on:
44
push:
55
branches:
6-
- master
6+
- refactor-pluntuml-renderer
77
workflow_dispatch:
88

99
# Мы хотим чтобы deploy в ветку gh-pages
@@ -33,7 +33,11 @@ jobs:
3333
fetch-depth: 0
3434

3535
- name: Docker login to private registry
36-
run: docker login "${{ secrets.PS_REGISTRY_URL }}" -u admin -p "${{ secrets.PS_REGISTRY_PASSWORD }}"
36+
uses: docker/login-action@v3
37+
with:
38+
registry: ${{ secrets.PS_REGISTRY_URL }}
39+
username: admin
40+
password: ${{ secrets.PS_REGISTRY_PASSWORD }}
3741

3842
- name: Start renderer service locally
3943
run: |
@@ -48,7 +52,7 @@ jobs:
4852
- name: Setup python
4953
uses: actions/setup-python@v5
5054
with:
51-
python-version: 3.x
55+
python-version: 3.11
5256
cache: 'pip'
5357

5458
- name: Download mkdocs plugins

.github/workflows/release-documentation.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,11 @@ jobs:
5151
fetch-depth: 0
5252

5353
- name: Docker login to private registry
54-
run: docker login "${{ secrets.PS_REGISTRY_URL }}" -u admin -p "${{ secrets.PS_REGISTRY_PASSWORD }}"
54+
uses: docker/login-action@v3
55+
with:
56+
registry: ${{ secrets.PS_REGISTRY_URL }}
57+
username: admin
58+
password: ${{ secrets.PS_REGISTRY_PASSWORD }}
5559

5660
- name: Start renderer service locally
5761
run: |
@@ -66,7 +70,7 @@ jobs:
6670
- name: Setup python
6771
uses: actions/setup-python@v5
6872
with:
69-
python-version: 3.x
73+
python-version: 3.11
7074
cache: 'pip'
7175

7276
- name: Install dependencies

0 commit comments

Comments
 (0)