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

This commit is contained in:
ship 2025-04-18 15:06:48 +08:00
parent 5dc470ecc4
commit 2fd21c2ded

View File

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