try wol actions
This commit is contained in:
@@ -4,6 +4,17 @@ run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
wol:
|
||||
runs-on: kobol
|
||||
steps:
|
||||
- name: Wake On Lan
|
||||
run: wol ${{ secrets.WOL_MAC_ADDRESS }}
|
||||
- name: Wait for the server to be reachable
|
||||
run: |
|
||||
while ! ping -c 1 -W 1 ${{ secrets.WOL_IP_ADDRESS }}; do
|
||||
echo "Waiting for server to be reachable..."
|
||||
sleep 5
|
||||
done
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user