parent
759a6aac5a
commit
cb061b9306
@ -13,6 +13,13 @@ jobs:
|
|||||||
ssh-keyscan -t ed25519 -H ${{ vars.DEV_HOSTS }} >> ~/.ssh/known_hosts
|
ssh-keyscan -t ed25519 -H ${{ vars.DEV_HOSTS }} >> ~/.ssh/known_hosts
|
||||||
- name: 部署composer
|
- name: 部署composer
|
||||||
run: |
|
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
|
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 }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user