a
Some checks failed
test / test-action (push) Failing after 18s

This commit is contained in:
ship 2025-04-18 14:38:01 +08:00
parent 759a6aac5a
commit cb061b9306

View File

@ -13,6 +13,13 @@ jobs:
ssh-keyscan -t ed25519 -H ${{ vars.DEV_HOSTS }} >> ~/.ssh/known_hosts
- name: 部署composer
run: |
if [[ ! -e composer-install.sh ]];then
echo "#/bin/bash
if [[ ! -f /usr/local/sbin/composer ]];then
curl -o /usr/local/sbin/composer https://getcomposer.org/download/2.8.2/composer.phar && chmod 777 /usr/local/sbin/composer
fi
/usr/local/sbin/composer --version
"> composer-install.sh
ssh ${{ vars.DEV_USERNAME }}@${{ vars.DEV_HOSTS }} ls
- name: message
run: echo ${{ github.event.head_commit.message }}