fix(ci): clone legacy release without node checkout
This commit is contained in:
1 parent
a0dee79b22
commit
35b6a334ba
1 file changed
+5
-2
@@ -50,8 +50,11 @@ jobs:
|
|||||||
- name: Install tools
|
- name: Install tools
|
||||||
run: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates git curl php-cli
|
run: apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates git curl php-cli
|
||||||
|
|
||||||
- name: Checkout repository
|
# На production runner образ задания не содержит Node.js, поэтому
|
||||||
uses: actions/checkout@v4
|
# actions/checkout не запускается. Клонируем тот же main напрямую:
|
||||||
|
# это не меняет содержимое host config.json.
|
||||||
|
- name: Checkout production branch
|
||||||
|
run: git clone --depth 1 --branch main http://git.dira89kv.beget.tech:3000/anton/preland.git .
|
||||||
|
|
||||||
- name: Preserve host config and add focus if absent
|
- name: Preserve host config and add focus if absent
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in new issue
Block a user