Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/auto_restart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down