Skip to content

update hosts

update hosts #32

Workflow file for this run

name: healthcheck
on:
workflow_dispatch:
push:
schedule:
- cron: "0 7 * * *"
env:
HOSTS: proxmox:10.243.100.10 jumphost:10.243.100.143
jobs:
healthcheck:
runs-on: ubuntu-latest
steps:
# - name: zerotier login
# uses: zerotier/github-action@v1.0.1
# with:
# network_id: ${{ secrets.ZEROTIER_NETWORK_ID }}
# auth_token: ${{ secrets.ZEROTIER_CENTRAL_TOKEN }}
- name: ping host
shell: bash
run: |

Check failure on line 25 in .github/workflows/healthcheck.yml

View workflow run for this annotation

GitHub Actions / healthcheck

Invalid workflow file

The workflow is not valid. .github/workflows/healthcheck.yml (Line: 25, Col: 12): Unrecognized named-value: 'HOSTS'. Located at position 1 within expression: HOSTS
for lines in "${{ HOSTS }}";
do
echo ee $lines
# line=($(echo $lines | awk -F ':' '{print $1,$2}'))
# echo ${line[1]}
# echo ${line[2]}
done