Update checker.yml #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
curl https://installer.plesk.com/plesk-installer | sudo bash | |
- name: Verify Plesk installation | |
run: plesk version | |
- name: Set Plesk installer environment variable | |
run: export PLESK_INSTALLER_AUTOINSTALL=1 | |
- name: Run installation script | |
run: | | |
echo "Running installation script..." | |
printf 'N\n' | php humhub-extension.php install |