From 7bbea9303dbf434aa82136fdf60881fbf5207601 Mon Sep 17 00:00:00 2001 From: ella-tj <70439910+ella-tj@users.noreply.github.com> Date: Thu, 11 Mar 2021 08:44:22 +0800 Subject: [PATCH] Update auto_restart.yml --- .github/workflows/auto_restart.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto_restart.yml b/.github/workflows/auto_restart.yml index 73e1dd5e..649c7092 100644 --- a/.github/workflows/auto_restart.yml +++ b/.github/workflows/auto_restart.yml @@ -25,8 +25,11 @@ jobs: - name: Login Cloud Foundry run: cf l -a https://api.us-south.cf.cloud.ibm.com login -u ${{ secrets.IBM_MAIL }} -p ${{ secrets.IBM_PWD }} - - name: Restart Cloud Foundry APP - run: cf restart ${{ secrets.IBM_APP_NAME }} + #- name: Restart Cloud Foundry APP + #run: cf restart ${{ secrets.IBM_APP_NAME }} + - name: ssh + run: cf ssh "${{ secrets.IBM_APP_NAME }}" + -c ls;ps -x;echo "ping -c 20 www.youtube.com >> ping.log";free;exit - name: Delete workflow runs uses: Mattraks/delete-workflow-runs@main