-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (42 loc) · 1.14 KB
/
checker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Plesk Installation Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-installation:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Plesk CLI
run: |
sudo apt update
sudo apt install -y curl expect
curl https://installer.plesk.com/plesk-installer | sudo bash
- name: Verify Plesk installation
run: plesk version
- name: Run installation script
run: |
echo "Running installation script..."
expect -c '
spawn plesk installer --all-versions --web-interface-repository-url none
expect {
"Would you like to help Plesk make better products by sending information" {
send "N\r"
exp_continue
}
"Type Y for yes or N for no" {
send "N\r"
exp_continue
}
"Select an action" {
send "install\r"
exp_continue
}
eof
}
'