Skip to content

Commit 17008e5

Browse files
committed
Упорядочен код развертывания: добавлено разделение на шаги для установки прав доступа к SSH-ключу и извлечения версии плагина.
1 parent 739fae6 commit 17008e5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/DEPLOY.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717

1818
- run: mkdir -p "$HOME/.ssh"
1919
- run: echo "${{ secrets.GSS }}" > "$HOME/.ssh/key"
20-
- run: chmod 600 "$HOME/.ssh/key" - name: Extract plugin version
20+
- run: chmod 600 "$HOME/.ssh/key"
21+
22+
- name: Extract plugin version
2123
id: get_version
2224
run: |
2325
VERSION=$(grep "Version:" dist/complete-updates-manager/complete-updates-manager.php | sed 's/.*Version:[[:space:]]*//' | tr -d '[:space:]')

0 commit comments

Comments
 (0)